Expand description
Infrastructure Layer (side-effects, external process execution, filesystem I/O).
Re-exports§
pub use docker::generate_docker_compose_override;pub use env_file::sanitize_compose_project_name;pub use env_file::write_env_worktree;pub use error::GitError;pub use error::HookError;pub use error::LockError;pub use error::RegistryError;pub use error::WorktreeError;pub use git::git_checkout;pub use git::git_is_clean;pub use git::git_merge;pub use git::git_worktree_prune;pub use git::resolve_git_common_dir;pub use git::resolve_repo_name;pub use git::resolve_toplevel;pub use hook::execute_hook_command;pub use hook::run_post_finish_hook;pub use hook::run_post_start_hook;pub use hook::run_pre_finish_hook;pub use lock::SlotLock;pub use registry::SlotRecord;pub use registry::SlotRegistry;pub use worktree::create_worktree;pub use worktree::delete_branch;pub use worktree::remove_worktree;
Modules§
- docker
- Docker Compose override generator and parser for worktree interoperability.
- env_
file .env.worktreegeneration and environment variable injection.- error
- Infrastructure error types.
- fs
- Filesystem utilities and shared cache directory symlinking.
- git
- Git CLI command wrappers for repository discovery, merge, and path resolution.
- hook
- Lifecycle hook execution and policy enforcement.
- lock
- Advisory file locking on
slots.lockwith polling and timeout. - registry
- Slot registry persistence in
<git-common-dir>/claw/slots.jsonand auto-GC. - worktree
- Git worktree lifecycle runner primitives.