MCPcopy Create free account
hub / github.com/cli/cli / forStep

Method forStep

pkg/cmd/run/view/logs.go:176–180  ·  view source on GitHub ↗
(jobID int64, stepNumber int)

Source from the content-addressed store, hash-verified

174}
175
176func (l *zipLogMap) forStep(jobID int64, stepNumber int) (*zip.File, bool) {
177 logFetcherKey := fmt.Sprintf("%d/%d", jobID, stepNumber)
178 f, ok := l.steps[logFetcherKey]
179 return f, ok
180}
181
182func (l *zipLogMap) addStep(jobID int64, stepNumber int, zf *zip.File) {
183 logFetcherKey := fmt.Sprintf("%d/%d", jobID, stepNumber)

Callers 2

populateLogSegmentsFunction · 0.80
TestGetZipLogMapFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestGetZipLogMapFunction · 0.64