Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct {
LoadConfig func() (config.Config, error)
CreateTemplateDir func(path string, perm os.FileMode) error
WriteTemplateFile func(path string, data []byte, mode os.FileMode) error
GitSetCommitTemplate func(path string) error
GitSetHooksPath func(path string) error
GitResolveAliases func(aliases []string) ([]string, []error)
StateRepositoryPersistEnabled func(coauthors []string) error
}
Dependencies the dependencies of the enable Policy module
type Policy ¶
type Policy struct {
Deps Dependencies
Req Request
}
Policy add a <Coauthor> under "team.alias.<Alias>"
Click to show internal directories.
Click to hide internal directories.