Skip to main content

ensure_outside_git

Function ensure_outside_git 

Source
pub fn ensure_outside_git(rendered: &Path, git_dir: &Path) -> Result<()>
Expand description

Rejects a rendered worktree path that lies inside the repository’s .git directory (spec §6).