Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFileWithResume ¶ added in v0.0.2
DownloadFileWithResume will download file with resume mode.
func MockRepo ¶
func MockRepo(rootPath string, repoName string, revision string, files []string, blobs []string) error
The files length MUST BE THE SAME with blobs, and they should be one-to-one mapping. The elements in blobs should not be empty, but if one element in files is empty, which means the file is still under downloading.
Note: don't forget to cleanup the folders.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.