Skip to content

xpepermint/async-gitlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?;

Releases

No releases published

Packages

No packages published

Languages