#github #remote #local #error-handling #statistics #directory #repo #stats #result-type

github-local-remote

Find the GitHub url, repo and username for a local directory

2 releases

Uses old Rust 2015

0.1.1 Sep 4, 2018
0.1.0 Sep 4, 2018

24 downloads per month

MIT/Apache

12KB
107 lines

github-local-remote

crates.io version build status downloads docs.rs docs

Find the GitHub url, repo and username for a local directory.

Usage

extern crate github_local_remote;

fn main() {
  let res = github_local_remote::stat(".").unwrap();
  println!("result {:?}", res);
}

Installation

$ cargo add github-local-remote

License

MIT OR Apache-2.0

Dependencies

~12MB
~280K SLoC