Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssertCommitOp ¶
type AssertCommitOp struct { From *plumbing.Hash To plumbing.Hash ExpectedCommits []ExpectedCommit }
type BareRepository ¶
type BareRepository struct {
// contains filtered or unexported fields
}
func CreateBareAndLocalRepoFromDir ¶
func CreateBareAndLocalRepoFromDir(op *CreateBareAndLocalRepoOp) (*BareRepository, *git.LocalRepository, error)
func InitBareRepository ¶
func InitBareRepository(path string) (*BareRepository, error)
func (*BareRepository) AssertCommits ¶
func (r *BareRepository) AssertCommits( op AssertCommitOp, )
func (*BareRepository) AssertInSyncWith ¶
func (r *BareRepository) AssertInSyncWith(localRepo *git.LocalRepository)
func (*BareRepository) LocalCloneUrl ¶
func (r *BareRepository) LocalCloneUrl() string
func (*BareRepository) Repository ¶
func (r *BareRepository) Repository() *gitcore.Repository
type ExpectedCommit ¶
func (*ExpectedCommit) AssertCommit ¶
func (ec *ExpectedCommit) AssertCommit( c *object.Commit, )
Click to show internal directories.
Click to hide internal directories.