Skip to main content

check_worktree_write_path

Function check_worktree_write_path 

Source
pub fn check_worktree_write_path(
    rel_path: &Path,
    symlink: bool,
) -> Result<(), HeddleError>
Expand description

Refuse a worktree write whose worktree-relative path is reserved (see reserved_worktree_write). For commands that write one path the user named; whole-tree writers skip such paths with a warning instead.