Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct { CommitSettingsReader commitsettings.Reader CreateTemplateDir func(path string, perm os.FileMode) error WriteTemplateFile func(path string, data []byte, mode os.FileMode) error CreateHooksDir func(path string, perm os.FileMode) error WriteHookFile func(path string, data []byte, mode os.FileMode) error Lstat func(path string) (os.FileInfo, error) Remove func(path string) error Symlink func(realPath string, linkPath string) error GitResolveAliases func(aliases []string) ([]string, []error) ConfigReader config.Reader GitConfigWriter gitconfig.Writer GitConfigReader gitconfig.Reader StateWriter state.Writer GetEnv func(string) string GetWd func() (string, error) ActivationValidator activation.Validator }
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.