Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchRepoFolders ¶
func FetchRepoFolders(opts GitFetchOptions) error
FetchRepoFolders fetches and downloads specified folders from a GitHub repo
Types ¶
type FileNode ¶
type GitFetchOptions ¶
type GitFetchOptions struct {
RepoURL string
Branch string
DestinationPath string
Folders []string
PullOnlyFolders bool
Overwrite bool
OnProgress ProgressHandler
}
GitFetchOptions defines options for fetching a GitHub repository
type ProgressHandler ¶
Click to show internal directories.
Click to hide internal directories.