rs-git-lib 0.2.1

A native rust git library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# rs-git-lib

Rust Native Git Library

## Usage

    use rs_git_lib::Repo;
    let repo = Repo::clone_from("https://github.com/lnds/rs-git-lib.git", Some("/tmp/rs-git".to_string())).unwrap();
    
    let commits = repo.commits();
    assert_eq!(commits[commits.len()].as_commit().unwrap().get_message(), "Initial commit")

## Notes

- only works with http or https for now

- This work started from the ideas and code in Rgit project by @cwbriones: https://github.com/cwbriones/rgit