Skip to main content

is_reserved_worktree_path

Function is_reserved_worktree_path 

Source
pub fn is_reserved_worktree_path(path: &Path) -> bool
Expand description

Whether path is the worktree-root .heddle entry or a path under it.

Root-anchored only: examples/calculator/.heddle/ is not reserved. Leading ./ is skipped so ./.heddle/identity.toml matches.