Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drl990114/download_git

lets you download one or multiple directories from a Git repository.
https://github.com/drl990114/download_git

Last synced: 11 days ago
JSON representation

lets you download one or multiple directories from a Git repository.

Awesome Lists containing this project

README

        

Modify according to [git-down](https://github.com/zikani03/git-down), Supplemented test cases, and more convenient to be called.

lets you download one or multiple directories from a Git repository.

## Usage

```shell
cargo add download_git
```

## Example

```rs
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