flags

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CloneModeAllBranches   = "all-branches"
	CloneModeDefaultBranch = "default-branch"
	CloneModeInvalid       = "invalid"
)

Variables

View Source
var (
	ErrInvalidCloneMode = errors.New("invalid clone mode")
)

Functions

func ApplyCloneMode

func ApplyCloneMode(config *dumper.DumpRepositoryOptions, cloneMode CloneMode)

Types

type CloneMode

type CloneMode string

func (CloneMode) String

func (cm CloneMode) String() string

func (CloneMode) Valid

func (cm CloneMode) Valid() error

Jump to

Keyboard shortcuts

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