gitops

package
v0.0.0-...-29a2545 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsTarget

func AbsTarget(projectDir, targetDir string) string

func CloneRepo

func CloneRepo(url, dest, branch string, sparsePaths []string) error

func CountChanges

func CountChanges(dest string, prevHead plumbing.Hash) (int, error)

func CountIncoming

func CountIncoming(dest, branch string) (int, error)

func DetectDefaultBranch

func DetectDefaultBranch(url string) (string, error)

func GetHEAD

func GetHEAD(dest string) (plumbing.Hash, error)

func IsGitRepo

func IsGitRepo(dest string) bool

func PullRepo

func PullRepo(dest, branch string, sparsePaths []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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