git

package
v11.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Author      string `exhaustruct:"optional"`
	Branch      domain.LocalBranchName
	FileContent string   `exhaustruct:"optional"`
	FileName    string   `exhaustruct:"optional"`
	Locations   []string `exhaustruct:"optional"`
	Message     string
	SHA         domain.SHA `exhaustruct:"optional"`
}

Commit describes a Git commit.

func DefaultCommit

func DefaultCommit(filenameSuffix string) Commit

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) []Commit

FromGherkinTable provides a Commit collection representing the data in the given Gherkin table.

func (*Commit) Set

func (self *Commit) Set(name, value string)

Set assigns the given value to the property with the given Gherkin table name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL