vcs

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: 4 Imported by: 0

Documentation

Overview

Package vcs provides version control system operations for backing up repositories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, cfg *types.Config) error

Run executes the backup operation with the provided configuration.

Types

type VCS

type VCS interface {
	// Backup performs the backup operation for repositories and gists.
	Backup(ctx context.Context) error
}

VCS defines the interface for version control system operations.

func New

func New(cfg *types.Config) (VCS, error)

New creates a new VCS instance based on the provided configuration.

Directories

Path Synopsis
Package github provides GitHub-specific VCS functionality.
Package github provides GitHub-specific VCS functionality.

Jump to

Keyboard shortcuts

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