async-gitlib

Crates.ioasync-gitlib
lib.rsasync-gitlib
version0.0.2
sourcesrc
created_at2020-06-18 19:44:07.745008
updated_at2020-06-18 21:06:31.496384
descriptionAsynchronous library with libgit2 artifacts.
homepagehttps://github.com/xpepermint/async-gitlib
repositoryhttps://github.com/xpepermint/async-gitlib
max_upload_size
id255459
size9,701
Kristijan Sedlak (xpepermint)

documentation

https://github.com/xpepermint/async-gitlib

README

Asynchronous library with libgit2 artifacts.

This package provides asynchronous structures for working with libgit2 features and uses async-std and git2 under the hood.

Clone

let source = "https://github.com/xpepermint/async-gitlib";
let target = "./target";
let task = RepoClone::default();
task.set_bare(false);
task.set_branch("master");
task.clone(source, target).await?;

Init

let target = "./target";
let task = RepoInit::default();
task.set_bare(false);
task.init(target).await?;
Commit count: 7

cargo fmt