Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunUpdate ¶
func RunUpdate(ctx *ccm.CmdContext, opts *SetOptions)
RunUpdate runs an automatic Githooks update.
Types ¶
type GitOptions ¶
GitOptions for local or global Git configuration.
type OptionsMapping ¶
type OptionsMapping struct { Print string PrintDesc string Set string SetDesc string Unset string UnsetDesc string Reset string ResetDesc string }
OptionsMapping holds mappings for the print/set/unset/reset actions.
type SetOptions ¶
SetOptions holds data for setting Git options to either print/reset/unset/set a value.
func (*SetOptions) AssertOptions ¶
func (s *SetOptions) AssertOptions(log cm.ILogContext, optsMap *OptionsMapping, noValues bool, args []string)
AssertOptions asserts that all set actions are exclusive etc.
Click to show internal directories.
Click to hide internal directories.