1 2 3 4 5 6 7 8 9 10 11 12 13 14
use color_eyre::eyre::Result; use git_meta::GitRepo; use std::env; fn main() -> Result<()> { let current_dir = env::current_dir()?; let repo = GitRepo::open(current_dir, None, None)?; println!("{:?}", repo); Ok(()) }