vcs

package
v0.0.0-...-abc2ee6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const PER_PAGE = 100

Variables

View Source
var BACKUP_GISTS_DIR string = "gitback-backup_" + dateTime + "/gists/"
View Source
var BACKUP_REPOS_DIR string = "gitback-backup_" + dateTime + "/repos/"

Functions

func GetPatUrl

func GetPatUrl(fullname string) (string, string)

func ListPrivateGists

func ListPrivateGists() ([]*github.Gist, *github.Response)

func ListPrivateRepos

func ListPrivateRepos() ([]*github.Repository, *github.Response)

func ListPublicGists

func ListPublicGists(username string) ([]*github.Gist, *github.Response)

func ListPublicRepos

func ListPublicRepos(username string) ([]*github.Repository, *github.Response)

func LogResponse

func LogResponse(rateInfo *github.Response)

func Run

func Run(noauth bool, username string, threads int)

Types

type Repo

type Repo struct {
	URL       string
	OutputDir string
	HasWiki   bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL