Documentation
¶
Overview ¶
Package paths centralizes resolution of prosa's on-disk locations so the rest of the codebase never hard-codes ~/... or XDG layouts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigHome ¶
ConfigHome returns the user's prosa config directory:
- $PROSA_CONFIG_HOME (escape hatch).
- $XDG_CONFIG_HOME/prosa (or $HOME/.config/prosa if XDG is unset).
This is intentionally separate from Home() (XDG data) so a tarballed config can travel between machines without dragging the SQLite store + raw tree along.
func Home ¶
Home returns the prosa data root. Resolution order:
- $PROSA_HOME if set (escape hatch for tests and exotic installs).
- $XDG_DATA_HOME/prosa (or $HOME/.local/share/prosa if XDG_DATA_HOME is unset).
Cut 1 does not deviate per-OS — XDG layout is used on macOS too, per INTENT.md §4.
func ProfilesPath ¶
ProfilesPath is where `prosa profiles` stores its per-agent config.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.