Documentation
¶
Overview ¶
Package cctpaths resolves cct's own on-disk locations, kept deliberately separate from any coding-agent home. cct keeps a small amount of cross-cutting state of its own — config.json (user defaults), meta.json (session tags and names), and the LAN-sync identity/peer store — and that state lives under the OS config directory, NEVER inside ~/.codex or ~/.claude.
Index ¶
Constants ¶
const ConfigDirEnv = "CCT_CONFIG_DIR"
ConfigDirEnv lets tests (and power users) point cct's config directory somewhere hermetic without touching the real one.
Variables ¶
This section is empty.
Functions ¶
func ConfigDir ¶
ConfigDir returns cct's config directory. An explicit override wins (used by callers that already resolved a location, e.g. lansync options and tests); otherwise $CCT_CONFIG_DIR is honored, and finally the OS user config dir's cct/ subdirectory is used. The directory is not created here.
Types ¶
This section is empty.