Remove unused fn: mkrepo()

This commit is contained in:
Matthias Beyer 2016-09-07 21:26:23 +02:00
parent 9c2f4db03d
commit fddd6ec4cb
1 changed files with 0 additions and 11 deletions

View File

@ -11,14 +11,3 @@ use vcs::git::error::GitHookErrorKind as GHEK;
use vcs::git::error::MapErrInto;
use vcs::git::result::Result;
pub fn mkrepo(store: &Store) -> Result<()> {
let mut opts = RepositoryInitOptions::new();
opts.bare(false);
opts.no_reinit(true);
opts.mkdir(false);
opts.external_template(false);
Repository::init_opts(store.path(), &opts)
.map(|_| ())
.map_err_into(GHEK::MkRepo)
}