~/selfhut

d3fa5b8d064a67594bf789d8a4c7fc666d015c97 — Arthur Melton 5c92aea0 2 years ago
undo my undo
1 files changed, 0 insertions(+), 1 deletions(-)

M src/clone.rs
M src/clone.rs => src/clone.rs +0 -1
@@ 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()
}