Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommitRepository ¶
type CommitRepository interface { ListByChangeIDs(context.Context, ...change.ID) ([]*change.ChangeCommit, error) ListByChangeID(id change.ID) ([]change.ChangeCommit, error) GetByCommitID(commitID, codebaseID string) (change.ChangeCommit, error) GetByChangeIDOnTrunk(id change.ID) (change.ChangeCommit, error) Insert(ch change.ChangeCommit) error Update(ch change.ChangeCommit) error }
func NewCommitRepository ¶
func NewCommitRepository(db *sqlx.DB) CommitRepository
Click to show internal directories.
Click to hide internal directories.