Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶ added in v0.11.0
func DefaultPath() string
DefaultPath returns the platform-default config directory, ignoring any override. Exposed so callers (e.g. --dev mode) can derive a sibling dir.
Types ¶
type Lock ¶ added in v0.11.0
type Lock struct {
// contains filtered or unexported fields
}
Lock holds an exclusive advisory lock on a kojo config directory. The lock is released by the kernel when the holding process exits (including on crash) or when Release is called explicitly.
Click to show internal directories.
Click to hide internal directories.