Remove unused fn: mkrepo()

This commit is contained in:
Matthias Beyer 2016-09-07 21:26:23 +02:00
parent 9c2f4db03d
commit fddd6ec4cb

View file

@ -11,14 +11,3 @@ use vcs::git::error::GitHookErrorKind as GHEK;
use vcs::git::error::MapErrInto; use vcs::git::error::MapErrInto;
use vcs::git::result::Result; 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)
}