Documentation
¶
Overview ¶
Package appdirs resolves dbterm's per-user configuration, state, and log directories on every supported operating system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigDir ¶
ConfigDir returns dbterm's per-user configuration directory.
DBTERM_CONFIG_DIR takes precedence when set. Without an override, the path follows the host OS convention. If the native directory does not yet exist and the legacy ~/.config/dbterm directory does, dbterm keeps using that existing directory in place. It never auto-moves, merges, or overwrites a profile merely because HOME/XDG environment values changed for one process.
func IsOwnedDirectory ¶
IsOwnedDirectory reports whether dir has the exact marker dbterm writes when it creates a DBTERM_* override directory. Native OS directories do not need this marker; it exists solely to put a hard ownership boundary around purge of arbitrary environment-provided paths.
Types ¶
This section is empty.