Expand description
Resolve repository and worktree path roots. Repository and worktree path resolution.
This module contains business logic for computing repository roots and worktree layout paths. Adapter layers (CLI, web) should call these APIs and only format output.
Structs§
- Resolved
Env - Resolved repository and Ito roots for a given invocation.
- Resolved
Worktree Paths - Derived worktree layout paths for the current project.
Enums§
- GitRepo
Kind - Distinguishes bare repositories from non-bare working trees.
- Worktree
Feature - Whether worktrees are enabled for the current project configuration.
- Worktree
Selector - Selector for a specific worktree path.
Functions§
- resolve_
env - Resolve repository and Ito-related roots for the current working directory.
- resolve_
env_ from_ cwd - Resolve repository and Ito-related roots for a specific
cwd. - resolve_
worktree_ paths - Computes worktree layout paths from the resolved environment and repository-local configuration.