blob: f1c8ef9da7ecb273e84d0ba7983218a3c75b075e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//! Git abstraction module
//!
//! Provide a few utility functions around supergit
use supergit::Repository;
pub(crate) fn open() -> Repository {
let path = std::env::var("OCTOPUS_REPOSITORY").unwrap();
trace!("Loading bare git repo {}", path);
Repository::open(&path).unwrap()
}
|