pub async fn reset_repo(repo_path: &Path) -> Result<bool>
Runs git reset --hard and removes the symlinks. Ok(false) when git fails or repo_path is not the root of a repository; Err when a symlink cannot be removed.
git reset --hard
Ok(false)
repo_path
Err