Expand description
Project discovery and management utilities
This module handles finding project roots, git directories, and managing project-related operations.
Structs§
- Project
- Represents a git worktree project with its root and git directory
Functions§
- clean_
branch_ name - Clean a branch name by removing refs/heads/ prefix
- find_
existing_ worktree - Find an existing git directory (worktree or main repository)
- find_
git_ directory - Find the .git directory within a project
- find_
git_ directory_ from - Find the .git directory starting from a specific path
- find_
project_ root - Find the project root containing git-worktree-config.jsonc
- find_
project_ root_ from - Find the project root starting from a specific path
- find_
valid_ git_ directory - Find a valid (non-orphaned) git directory in the project
- is_
orphaned_ worktree - Check if a path is an orphaned worktree