fetch

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayRefUpdate

func DisplayRefUpdate(cmd *cobra.Command, code byte, summary, errStr, from, to string)

func Fetch

func Fetch(
	cmd *cobra.Command,
	db objects.Store,
	rs ref.Store,
	cm *utils.ClientMap,
	u *conf.User,
	remote string,
	cr *conf.Remote,
	specs []*conf.Refspec,
	force bool,
	depth int32,
	logger logr.Logger,
	container *pbar.Container,
) error

func ParseRemoteAndRefspec

func ParseRemoteAndRefspec(cmd *cobra.Command, c *conf.Config, branch string, args []string) (string, *conf.Remote, []*conf.Refspec, error)

func Quickref

func Quickref(oldSum, sum []byte, fastForward bool) string

func RootCmd

func RootCmd() *cobra.Command

func TrimRefPrefix added in v0.10.3

func TrimRefPrefix(r string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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