Skip to main content

validate_repo

Function validate_repo 

Source
pub fn validate_repo(path: &Path) -> Result<PathBuf, PawError>
Expand description

Validates that the given path is inside a git repository.

Returns the absolute path to the repository root.