Documentation
¶
Index ¶
Constants ¶
View Source
const ( LocationLocal = Location("local") LocationOrigin = Location("origin") LocationCoworker = Location("coworker") LocationUpstream = Location("upstream") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct { Author string `exhaustruct:"optional"` Branch gitdomain.LocalBranchName FileContent string `exhaustruct:"optional"` FileName string `exhaustruct:"optional"` Locations Locations `exhaustruct:"optional"` Message string SHA gitdomain.SHA `exhaustruct:"optional"` }
Commit describes a Git commit.
func DefaultCommit ¶
DefaultCommit provides a new Commit instance populated with the default values used in the absence of value specified by the test.
func FromGherkinTable ¶
func FromGherkinTable(table *messages.PickleStepArgument_PickleTable, branchName gitdomain.LocalBranchName) []Commit
FromGherkinTable provides a Commit collection representing the data in the given Gherkin table.
type Location ¶
type Location string
Location represents the location of a repo clone in the test setup
func NewLocation ¶
Click to show internal directories.
Click to hide internal directories.