Skip to main content

git_worktree_lifecycle_matches

Function git_worktree_lifecycle_matches 

Source
pub fn git_worktree_lifecycle_matches(
    root: &Path,
    common_directory: &Path,
    administrative_directory: &Path,
    administrative_identity: &str,
) -> FsResult<bool>
Expand description

Check one exact worktree lifecycle without enumerating sibling registrations.

ยงErrors

Returns an error when the selected administrative directory cannot provide stable filesystem identity evidence.