Documentation
¶
Overview ¶
Package paths provides a single source of truth for all data directory paths. All persistent file locations are derived from a single root directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextAvailable ¶
NextAvailable returns dir/name if it doesn't exist, otherwise tries name with incrementing numeric suffixes: slug1.md, slug2.md, etc.
Types ¶
type Layout ¶
type Layout struct {
Root string // e.g. "data"
PricingCache string // e.g. "data/pricing_cache.json"
PromptHistory string // e.g. "data/prompt_history.jsonl"
ConfigStore string // e.g. "data/configs.json"
Outputs string // e.g. "data/outputs"
Sessions string // e.g. "data/sessions"
Checkpoint string // e.g. "data/checkpoint.json"
Recipes string // e.g. "data/recipes"
}
Layout holds all data file paths derived from a single root directory.
Click to show internal directories.
Click to hide internal directories.