git

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAll

func AddAll() error

func CleanTagName

func CleanTagName(branch string) string

func CloneUpstream

func CloneUpstream(pkgbase string, url string, tag string) error

func Commit

func Commit(message string) error

func CreateAndSwitchToPackageUpdateBranch

func CreateAndSwitchToPackageUpdateBranch(pkgbase string, pkgver string) error

func GetOriginUrl added in v1.1.5

func GetOriginUrl(path string) (string, error)

func GetRevision added in v1.1.5

func GetRevision(path string) (string, error)

func GetSubmodules added in v1.3.1

func GetSubmodules(path string) (map[string]*Submodule, error)

func PackageUpdateBranchExists

func PackageUpdateBranchExists(pkgbase string, pkgver string) (bool, error)

func PushPackageBranch

func PushPackageBranch(pkgbase string, pkgver string) error

func SwitchToMaster

func SwitchToMaster() error

Types

type Submodule added in v1.3.1

type Submodule struct {
	Name   string
	Url    string
	Path   string
	Branch string
	Hash   string
}

Jump to

Keyboard shortcuts

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