Documentation
¶
Index ¶
Constants ¶
View Source
const AppName = "fget"
AppName - the name of the application.
Variables ¶
View Source
var ( ErrGitMissingRemoteHeadReference = errors.New("missing remote head reference") ErrGitMissingBranchName = errors.New("missing branch name") ErrGitMissingRemoteHeadBranchName = errors.New("missing remote HEAD branch name") ErrGitRepositoryNotReachable = errors.New("repository not reachable") ErrGitRepositoryDisabled = errors.New("repository is disabled") ErrGitRepositoryProtected = errors.New("repository is protected") )
View Source
var OutputFormatIds = map[OutputFormat][]string{ OutputFormatText: {"text"}, OutputFormatJSON: {"json"}, OutputFormatTable: {"table"}, }
OutputFormatIds maps the enum values to their string representations
Functions ¶
Types ¶
type GitRepositoryMovedError ¶
func (*GitRepositoryMovedError) Error ¶
func (e *GitRepositoryMovedError) Error() string
type OutputFormat ¶
OutputFormat represents the output format type
const ( OutputFormatText OutputFormat = iota OutputFormatJSON OutputFormatTable )
Output format constants
type VersionInfo ¶
A VersionInfo contains a version.
Click to show internal directories.
Click to hide internal directories.