Documentation
¶
Overview ¶
Package hostdir says where Claude Code and Codex keep their files. Both let an environment variable move the whole directory, and each place in logos that hard-coded ~/.claude or ~/.codex was right only until a user moved it: setup wired a config the host never read, and harvest read an empty folder while the host wrote elsewhere (#376). One lookup, so they cannot drift.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaudeConfig ¶
func ClaudeConfig() string
ClaudeConfig is Claude Code's config directory: CLAUDE_CONFIG_DIR, or ~/.claude. Empty when neither is set and there is no home to fall back to.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.