Skip to main content

reserved_worktree_write

Function reserved_worktree_write 

Source
pub fn reserved_worktree_write(
    rel_path: &Path,
    symlink: bool,
) -> Option<ReservedPathComponent>
Expand description

The reserved component of a worktree write to rel_path, if any: a .git alias at any depth, a .heddle alias at the root, or a .gitmodules alias when symlink (heddle#2028).