Skip to main content

reset_repo

Function reset_repo 

Source
pub async fn reset_repo(repo_path: &Path) -> Result<(), ResetError>
Expand description

Runs git reset --hard and removes the symlinks. repo_path must be the root of the working tree: git refuses any other path.