aputil

package
v0.0.314 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCloneFlags

func AddCloneFlags(cmd *cobra.Command, o *CloneFlagsOptions) *git.CloneOptions

func ConfigureLoggerOrDie

func ConfigureLoggerOrDie(cmd *cobra.Command)

func PushWithMessage

func PushWithMessage(ctx context.Context, r git.Repository, msg string, progress ...io.Writer) error

Types

type CloneFlagsOptions

type CloneFlagsOptions struct {
	Prefix           string
	Optional         bool
	CreateIfNotExist bool
	CloneForWrite    bool
	Progress         io.Writer
}

Jump to

Keyboard shortcuts

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