Documentation
¶
Overview ¶
Package paths resolves on-disk locations for oac-daemon state under ~/.oac/daemon/<profile>/ — one subdir per profile so "test" and "prod" servers can be connected in parallel without colliding.
Files are 0o600, parent dir 0o700. These functions only resolve paths — callers do the I/O.
Index ¶
Constants ¶
const DefaultProfile = "default"
Variables ¶
This section is empty.
Functions ¶
func ProfileDir ¶
ProfileDir returns ~/.oac/daemon/<profile>. It is not created here.
func Root ¶
Root returns ~/.oac. Honours OAC_RUNTIME_HOME for tests / sandbox environments without a writable home.
func StateDirectory ¶ added in v0.0.10
StateDirectory is the single process setting for private durable Runtime state. An explicit invalid value is an error, never a reason to use the default.
func ValidateProfile ¶
ValidateProfile rejects names that wouldn't survive being used as a directory component.
Types ¶
This section is empty.