config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "git-update"

Variables

View Source
var (
	FlagDir           string
	FlagAll           bool
	FlagCheckout      bool
	FlagFetch         bool
	FlagPull          bool
	FlagResetHard     bool
	FlagDefaultBranch string
	FlagVerbose       bool

	FlagExecuteTimeout *time.Duration

	FlagVersion bool
)

Functions

This section is empty.

Types

type Version

type Version struct {
	Name       string `json:"name,omitempty"`
	Branch     string `json:"branch,omitempty"`
	CommitHash string `json:"commitHash,omitempty"`
	TimeBuild  string `json:"timeBuild,omitempty"`
}

func GetVersion

func GetVersion() Version

Jump to

Keyboard shortcuts

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