#github #user-name #local #url

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

#8 in #git-hub

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

~9.5MB
~238K SLoC