| Crates.io | download_git |
| lib.rs | download_git |
| version | 0.0.2 |
| created_at | 2023-09-07 12:24:48.913606+00 |
| updated_at | 2023-09-09 02:34:03.963836+00 |
| description | Download one or multiple directories from a Git repository. |
| homepage | |
| repository | https://github.com/halodong/git-download |
| max_upload_size | |
| id | 966187 |
| size | 11,941 |
Modify according to git-down, Supplemented test cases, and more convenient to be called.
lets you download one or multiple directories from a Git repository.
cargo add download_git
use download_git;
download_git::download("https://github.com/twbs/bootstrap.git:main", download_git::DownloadOptions {
target_files: Some(vec!["dist".to_string(), "README.md".to_string()]),
dest_path: String::from(TEST_FOLDER)
}).unwrap();
MIT