Expand description
Per-worktree ref name parsing and storage location (Git parse_worktree_ref / files_ref_path).
Enums§
- RefWorktree
Type - How a ref name maps to on-disk storage across worktrees.
Functions§
- is_
linked_ worktree_ git_ dir - True when
git_diris a linked worktree administrative directory. - is_
per_ worktree_ ref refs/worktree/*,refs/bisect/*, andrefs/rewritten/*are per-worktree.- parse_
worktree_ ref - Parse
maybe_worktree_reflike Gitparse_worktree_ref. - ref_
visible_ from_ worktree - Whether
refnameshould appear infor-each-reffrom a linked worktree. - resolve_
ref_ dwim - Resolve
specusing Gitref_rev_parse_rules/expand_ref. - resolve_
ref_ storage - Git directory and on-disk ref path for
refnamefrom the current process’s linked checkout.