Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Checkout(branchName string, logger log.FieldLogger) error Commit(filePath, commitMsg string, logger log.FieldLogger) error Push(logger log.FieldLogger) error Close(tempDir string, logger log.FieldLogger) error }
func NewGitClient ¶
Git is a wrapper around go-git to provide a simple interface for interacting with git. TODO: Handle concurrent access to the repo.
Click to show internal directories.
Click to hide internal directories.