Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchPrecommitConfig ¶
type FetchPrecommitConfig struct {
Hooks Hooks `yaml:"hooks"`
}
type PrecommitConfig ¶
type PrecommitConfig struct {
Repos []Repo `yaml:"repos"`
}
type UpdatePrecommitConfigResponse ¶
type UpdatePrecommitConfigResponse struct {
OriginalInput string
FinalOutput string
IsChanged bool
ConfigfileFetchError bool
}
func UpdatePrecommitConfig ¶
func UpdatePrecommitConfig(precommitConfig string, Hooks []Repo) (*UpdatePrecommitConfigResponse, error)
Click to show internal directories.
Click to hide internal directories.