@@ 7,7 7,6 @@ use std::path::Path;
pub async fn clone(repo: String, path: PathBufWithDotfiles) -> Option<NamedFile> {
let mut repo_path = CONFIG.git_location.clone();
repo_path.push(format!("{}.git", repo));
- repo_path.push(".git");
repo_path.push(path.get());
NamedFile::open(repo_path).await.ok()
}