Documentation ¶
Index ¶
- func CommitFile(repo *git2go.Repository, path, content string, time time.Time) (*git2go.Oid, error)
- func CreateBranch(repo *git2go.Repository, branch string, commit *git2go.Commit) error
- func HeadCommit(repo *git2go.Repository) (*git2go.Commit, error)
- func InitRepo(t *testing.T, bare bool) (*git2go.Repository, error)
- func MockSignature(time time.Time) *git2go.Signature
- func Push(path, branch string, cb git2go.RemoteCallbacks) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommitFile ¶
func CreateBranch ¶
func HeadCommit ¶
func HeadCommit(repo *git2go.Repository) (*git2go.Commit, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.