paths

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package paths locates the per-user directories the CLI stores files in.

The environment variables AUDD_CONFIG_DIR, AUDD_CACHE_DIR, and AUDD_DATA_DIR override the defaults; tests use them to isolate state in temporary dirs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir() string

CacheDir holds disposable data: the results cache, cover art, session hints.

func ConfigDir

func ConfigDir() string

ConfigDir is where config.toml and credentials.json live: $XDG_CONFIG_HOME/audd or ~/.config/audd on Unix and macOS, %APPDATA%\audd on Windows.

func DataDir

func DataDir() string

DataDir holds data worth keeping: jobs, the stream store, recorder state. $XDG_DATA_HOME/audd or ~/.local/share/audd on Unix and macOS, %LOCALAPPDATA%\audd on Windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL