repository

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneRepository

func CloneRepository(target string, remote string, silent bool) error

func Exists

func Exists(target string) bool

func FetchRepository

func FetchRepository(target string, silent bool) error

func FsckRepository

func FsckRepository(target string, silent bool) error

FsckRepository runs the git file system check

func GCRepository

func GCRepository(target string, silent bool) error

GCRepository runs the git garbage collection

func MoveRepository

func MoveRepository(source string, target string) error

MoveRepository moves a vcs repository

func PruneRepository

func PruneRepository(target string, silent bool) error

PruneRepository prunes all unreachable objects from the repository

func PullRepository

func PullRepository(target string, silent bool) error

func RegenerateCommitGraph added in v0.5.0

func RegenerateCommitGraph(target string, silent bool) error

RegenerateCommitGraph regenerates the commit graph for the repository

func RepackRepository added in v0.5.0

func RepackRepository(target string, silent bool) error

RepackRepository repacks all objects in the repository to optimize storage

func UpdateRemote

func UpdateRemote(target string, remote string, silent bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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