git_info 0.1.3

Extracts git repository information.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![feature(test)]
extern crate test;

use git_info;
use test::Bencher;

#[bench]
fn get(bencher: &mut Bencher) {
    bencher.iter(|| {
        let info = git_info::get();

        assert!(info.current_branch.is_some());
    });
}