1. 首页
  2. 数据库
  3. 其它
  4. anni fetch:一个库专注于git fetch的作用 源码

anni fetch:一个库专注于git fetch的作用 源码

上传者: 2021-04-18 16:17:19上传 ZIP文件 13.38KB 热度 22次
Anni-fetch 一个库专注于git fetch的作用。 例子 use anni_fetch :: Client; fn main () { // create a new client let client = Client :: new ( "https://github.com/project-anni/repo.git" ); // fetch and read as an iterator let iter = client. request ( "fetch" , None , & [ "thin-pack" , "ofs-delta" , "deepen 1" , & client. want_ref ( "HEAD" ). expect ( "failed to get s
用户评论