Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SourceControl ¶
type SourceControl interface { Name() string RequestOpen(ctx context.Context, branch string, path string, mod modules.Update) error RequestClose(ctx context.Context, branch string, path string) error RequestUpdate(ctx context.Context, branch string, path string, mod modules.Update) error RequestList(ctx context.Context, branch string) (map[string]string, error) }
func NewSourceControl ¶
func NewSourceControl(cfg configcli.Config) SourceControl
Click to show internal directories.
Click to hide internal directories.