Skip to main content

validate_repo_path

Function validate_repo_path 

Source
pub fn validate_repo_path(path: &Path) -> Result<(), GitArgError>
Expand description

Validates the repo argument shared by all three write verbs: must be an absolute local path containing a .git entry (mirrors git.digest’s local-source validation in src/source.rs).