github

package
v0.0.0-...-8046387 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package github provides GitHub-specific VCS functionality.

Package github provides GitHub-specific VCS functionality.

Index

Constants

View Source
const (
	// DefaultPerPage is the default number of items to request per page.
	DefaultPerPage = 100
	// DefaultTimeout is the default timeout for API requests.
	DefaultTimeout = 30 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubVCS

type GitHubVCS struct {
	// contains filtered or unexported fields
}

GitHubVCS implements the VCS interface for GitHub.

func NewGitHubVCS

func NewGitHubVCS(cfg *types.Config) (*GitHubVCS, error)

NewGitHubVCS creates a new GitHubVCS instance.

func (*GitHubVCS) Backup

func (g *GitHubVCS) Backup(ctx context.Context) error

Backup performs the backup of repositories and gists.

Jump to

Keyboard shortcuts

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