1 2 3 4 5
use git2::Repository; fn main() { let repo = Repository::init("/depot").expect("should be able to open depot"); }