Skip to main content

Module config

Module config 

Source
Expand description

Configuration model and zero-config defaults loader.

Structs§

CacheConfig
Cache sharing configuration.
Config
Strongly-typed configuration parsed from .git-claw.toml or ~/.git-claw/config.toml.
DockerConfig
Docker Compose override configuration.
FilesConfig
Untracked files duplication configuration.
HooksConfig
Lifecycle hooks.
ProjectConfig
Project-level configuration.

Enums§

CacheStrategy
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_CONFIG for testing.