imag/libimagstorestdhook/src/vcs/git/util.rs

13 lines
294 B
Rust
Raw Normal View History

2016-05-14 22:21:26 +00:00
//! Utility functionality for integrating git hooks in the store
//!
//! Contains primitives to create a repository within the store path
pub fn mkrepo(store: &Store) -> Result<()> {
unimplemented!()
}
pub fn hasrepo(store: &Store) -> bool {
Repository::open(store.path()).is_ok()
}