hostdir

package
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

func CodexHome

func CodexHome() string

CodexHome is Codex's directory: CODEX_HOME, or ~/.codex.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL