We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dump
gisty.Dump() to clone all the gist repos.
gisty.Dump()
func gisty.Dump(outDir string, ignore ...gisty.Ignore) error
type gisty.Ignore func(gistInfo gisty.GistInfo) bool
var IgnorePrivate gisty.Ignore = func(gistInfo gisty.GistInfo) bool { return !gistInfo.IsPublic } var IgnoreList gisty.Ignore = func(gistInfo gisty.GistInfo) bool { mapIgnore := map[string]struct{} { "7101f542be23e5048198e2a27c3cfda8": struct{}{}, "da7101f542be23e5048198e2a27c3cf8": struct{}{}, } _, ok := mapIgnore[gistInfo.GistID] return ok } pathDirOut := "." err := gisty.Dump(pathDirOut, IgnorePrivate, IgnoreList) if err != nil { log.Fatal(err) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gisty.Dump()
to clone all the gist repos.The text was updated successfully, but these errors were encountered: