Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
type Repo interface { // Equivalent to `git checkout -b <branchName>` CreateBranch(branchName string) error // Commit metadata of the current HEAD Head() (CommitMetadata, error) // Name of the current active branch ActiveBranch() (string, error) // Equivalent to `git commit -A -m <message>` Commit(message string) (string, error) }
Click to show internal directories.
Click to hide internal directories.