Add missing imports

This commit is contained in:
Matthias Beyer 2016-07-16 11:49:19 +02:00
parent 7f02f818da
commit da0c4cf06b
4 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
use toml::Value;
use vcs::git::action::StoreAction;
pub fn commit_interactive(config: &Value) -> bool {
unimplemented!()
}

View File

@ -6,4 +6,5 @@ generate_error_module!(
pub use self::error::GitHookError;
pub use self::error::GitHookErrorKind;
pub use self::error::MapErrInto;

View File

@ -1,3 +1,4 @@
mod action;
mod config;
pub mod create;
pub mod delete;

View File

@ -3,9 +3,13 @@
//! Contains primitives to create a repository within the store path
use git2::Repository;
use git2::RepositoryInitOptions;
use libimagstore::store::Store;
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();