#github #user-name #local #repo #find #url #directory

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

#66 in #user-name

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

~9MB
~239K SLoC