My personal project and infrastructure archive
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
//! 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()
|
|
}
|
|
|