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

github-local-remote

查找本地目录的GitHub URL、repo和用户名

2个版本

使用旧的Rust 2015

0.1.1 2018年9月4日
0.1.0 2018年9月4日

#66 in #user-name

MIT/Apache

12KB
107 代码行

github-local-remote

crates.io version build status downloads docs.rs docs

查找本地目录的GitHub URL、repo和用户名。

使用说明

extern crate github_local_remote;

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

安装

$ cargo add github-local-remote

许可证

MIT OR Apache-2.0

依赖项

~9MB
~239K SLoC