Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Paths ¶
Paths holds XDG-compliant directory paths
func NewPaths ¶
NewPaths returns XDG-compliant directory paths If XDG environment variables are set, they are used; otherwise, defaults are applied
func (Paths) ConfigPath ¶
ConfigPath returns the path to the config file
func (Paths) EnsureDirs ¶
EnsureDirs creates necessary directories with proper permissions (0700)
func (Paths) GetDefaultVaultPaths ¶
GetDefaultVaultPaths generates the default vault paths for `dotsecenv init config`: the cwd-relative `.dotsecenv/vault` (typically committed alongside source) and the user's home vault (XDG_DATA_HOME-aware). Multi-user / org-wide shared vaults are an explicit admin choice and are not part of the defaults.
Click to show internal directories.
Click to hide internal directories.