From 9c2f4db03d3577243f53ca0da9c5bf6d7d856aec Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 7 Sep 2016 21:26:06 +0200 Subject: [PATCH] Remove unused fn: hasrepo() --- libimagstorestdhook/src/vcs/git/util.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libimagstorestdhook/src/vcs/git/util.rs b/libimagstorestdhook/src/vcs/git/util.rs index e57e6acc..5a6f0b86 100644 --- a/libimagstorestdhook/src/vcs/git/util.rs +++ b/libimagstorestdhook/src/vcs/git/util.rs @@ -22,7 +22,3 @@ pub fn mkrepo(store: &Store) -> Result<()> { .map_err_into(GHEK::MkRepo) } -pub fn hasrepo(store: &Store) -> bool { - Repository::open(store.path()).is_ok() -} -