gh-file-curler

Crates.iogh-file-curler
lib.rsgh-file-curler
version2.4.0
sourcesrc
created_at2024-02-14 23:07:38.118354
updated_at2024-04-02 21:02:19.522147
descriptionGrabs only the files from a Github repo, without the Git history
homepage
repository
max_upload_size
id1140302
merrybot (berrymot)

documentation

README

## gh-file-curler Grabs only the files from a Github repo, without the Git history ## Usage ```rs use gh_file_curler::fetch; use std::fs; fn main() { fs::remove_dir_all("out").unwrap_or(()); fs::create_dir("out").unwrap(); let the = fetch_dir("berrymot", "gh-file-curler", &[""], true, "TOKEN") .unwrap(); the.clone().write_to("out"); println!("{} files", the.0.len()); } ```
Commit count: 0

cargo fmt