summaryrefslogtreecommitdiffstats
path: root/libimagstorestdhook/src/vcs/git/util.rs
blob: 0a022a9ab80a3848a30b3e8ecd6a2ea5d5c0c7f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Utility functionality for integrating git hooks in the store
//!
//! 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;