Expand description
XDG-compliant path resolution for opencode-cloud
Provides consistent path resolution across platforms:
- Linux/macOS: ~/.config/opencode-cloud/ and ~/.local/share/opencode-cloud/
- Windows: %APPDATA%\opencode-cloud\ and %LOCALAPPDATA%\opencode-cloud\
Functionsยง
- get_
config_ dir - Get the configuration directory path
- get_
config_ path - Get the full path to the config file
- get_
data_ dir - Get the data directory path
- get_
hosts_ path - Get the full path to the hosts configuration file
- get_
pid_ path - Get the full path to the PID lock file