Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteLister ¶
RemoteLister will list references of a GIT repository remote.
type RemoteURLInformer ¶
RemoteURLInformer will return a URL of a remote or error if such remote do not exist.
type Repository ¶
type Repository interface {
RemoteLister
RemoteURLInformer
Fetch(remote Remote) error
Checkout(remote Remote, branch string) Checkout
Push(remote Remote, branch string) error
DeleteBranch(branch string) error
CommitChanges(message string) (*object.Commit, error)
}
Repository contains operations on underlying GIT repo.
Click to show internal directories.
Click to hide internal directories.