https://github.com/Rprop/GitHubDownloader
download a single folder or directory from a GitHub repository
https://github.com/Rprop/GitHubDownloader
rlib
Last synced: 3 months ago
JSON representation
download a single folder or directory from a GitHub repository
- Host: GitHub
- URL: https://github.com/Rprop/GitHubDownloader
- Owner: Rprop
- Created: 2016-07-20T15:59:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-24T12:17:27.000Z (over 7 years ago)
- Last Synced: 2024-08-03T22:18:18.470Z (7 months ago)
- Topics: rlib
- Language: C++
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - Rprop/GitHubDownloader - download a single folder or directory from a GitHub repository (C++)
README
# Optimal Solution
e.g. target: https://github.com/dotnet/corefx/tree/master/src/Native/Windows/clrcompression/zlib-intel/
trunk_url: https://github.com/dotnet/corefx/trunk/src/Native/Windows/clrcompression/zlib-intel/
trunk_url(with branch): https://github.com/dotnet/corefx/branches/master/src/Native/Windows/clrcompression/zlib-intel/
svn checkout trunk_url# GitHubDownloader
A C++ example shows how to download a single folder or directory from a GitHub repository.# Feature
1.Lightweight
2.Multi-threads# Example Output
creating directory zlib-intel/... done
fetching https://github.com/dotnet/corefx/tree/master/src/Native/Windows/clrcompression/zlib-intel/... succeed
downloading 20 files from https://raw.githubusercontent.com/dotnet/corefx/master/src/Native/Windows/clrcompression/zlib-intel/...
->README.txt 3
->adler32.c 3
->crc32.h 3
->deflate.h 3
->deflate.c 3
->crc32.c 3
->deflate_medium.c 3
->deflate_quick.c 3
->fill_window_sse.c 3
->crc_folding.c 3
->match.c 3
->trees.c 3
->gzguts.h 3
->x86.c 3
->x86.h 3
->trees.h 3
->zlib.h 3
->zutil.c 3
->zconf.h 3
->zutil.h 3
++adler32.c
++x86.h
++deflate_medium.c
++crc_folding.c
++trees.h
++crc32.c
++gzguts.h
++zutil.c
++README.txt
++fill_window_sse.c
++deflate_quick.c
++deflate.h
++trees.c
++zlib.h
++match.c
++crc32.h
++zutil.h
++x86.c
++deflate.c
->zconf.h 2
++zconf.h
finished.
Press any key to continue . . .