Expand description
Configuration model and zero-config defaults loader.
Structs§
- Cache
Config - Cache sharing configuration.
- Config
- Strongly-typed configuration parsed from
.git-claw.tomlor~/.git-claw/config.toml. - Docker
Config - Docker Compose override configuration.
- Files
Config - Untracked files duplication configuration.
- Hooks
Config - Lifecycle hooks.
- Project
Config - Project-level configuration.
Enums§
- Cache
Strategy - Cache sharing strategy for worktree dependencies.
Functions§
- default_
worktree_ root - Returns the default centralized worktree root:
~/.git-claw/worktrees/<repo_name>. - expand_
home - Expands leading ‘~/’ to the user’s home directory.
- global_
config_ path - Resolves the global user configuration path.
Can be overridden with
GIT_CLAW_GLOBAL_CONFIGfor testing.