MCPcopy
hub / github.com/harness/harness / FindByNumber

Method FindByNumber

app/store/database.go:983–983  ·  view source on GitHub ↗

FindByNumber returns a step from the datastore by number.

(ctx context.Context, stageID int64, stepNum int)

Source from the content-addressed store, hash-verified

981 StepStore interface {
982 // FindByNumber returns a step from the datastore by number.
983 FindByNumber(ctx context.Context, stageID int64, stepNum int) (*types.Step, error)
984
985 // Create creates a new step.
986 Create(ctx context.Context, step *types.Step) error

Callers 15

updateMergeDataMethod · 0.65
FindMethod · 0.65
TailMethod · 0.65
RevertMethod · 0.65
CommentUpdateMethod · 0.65
DeleteBranchMethod · 0.65
FindMethod · 0.65
ReviewerDeleteMethod · 0.65
FileViewDeleteMethod · 0.65
ActivityListMethod · 0.65
UpdateMethod · 0.65
CodeOwnersMethod · 0.65

Implementers 4

executionStoreapp/store/database/execution.go
stageStoreapp/store/database/stage.go
stepStoreapp/store/database/step.go
PullReqStoreapp/store/database/pullreq.go

Calls

no outgoing calls

Tested by

no test coverage detected