Crates.io | commit_info |
lib.rs | commit_info |
version | 0.1.1 |
source | src |
created_at | 2022-03-31 22:50:49.322738 |
updated_at | 2022-04-01 00:21:01.28441 |
description | Gather relevant commit and status information from git repos. |
homepage | |
repository | https://github.com/mugendi/commit_info |
max_upload_size | |
id | 559946 |
size | 13,376 |
This crate gathers relevant git info from any Repo. Some of the info returned includes:
let dir = "/path/to/repo"; //<- Point to the location of t=your repo
let info = Info::new(&dir).status_info()?.commit_info()?;
println("{:#?}", info);