rs-git-lib

Crates.iors-git-lib
lib.rsrs-git-lib
version0.2.1
sourcesrc
created_at2020-08-04 17:05:07.549004
updated_at2020-08-07 01:30:47.388428
descriptionA native rust git library
homepage
repositoryhttps://github.com/lnds/rs-git-lib
max_upload_size
id272948
size227,781
Eduardo Díaz (lnds)

documentation

README

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

Commit count: 45

cargo fmt