gix_discover::path

Function without_dot_git_dir

source
pub fn without_dot_git_dir(path: PathBuf) -> PathBuf
Expand description

Conditionally pop a trailing .git dir if present.