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

Method forStep

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

Source from the content-addressed store, hash-verified

176}
177
178func (l *zipLogMap) forStep(jobID int64, stepNumber int) (*zip.File, bool) {
179 logFetcherKey := fmt.Sprintf("%d/%d", jobID, stepNumber)
180 f, ok := l.steps[logFetcherKey]
181 return f, ok
182}
183
184func (l *zipLogMap) addStep(jobID int64, stepNumber int, zf *zip.File) {
185 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