download_git

Crates.iodownload_git
lib.rsdownload_git
version0.0.2
sourcesrc
created_at2023-09-07 12:24:48.913606
updated_at2023-09-09 02:34:03.963836
descriptionDownload one or multiple directories from a Git repository.
homepage
repositoryhttps://github.com/halodong/git-download
max_upload_size
id966187
size11,941
(halodong)

documentation

README

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.

Usage

cargo add download_git

Example

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();

License

MIT

Commit count: 5

cargo fmt