MCPcopy
hub / github.com/cli/cli / forJob

Method forJob

pkg/cmd/run/view/logs.go:167–170  ·  view source on GitHub ↗
(jobID int64)

Source from the content-addressed store, hash-verified

165}
166
167func (l *zipLogMap) forJob(jobID int64) (*zip.File, bool) {
168 f, ok := l.jobs[jobID]
169 return f, ok
170}
171
172func (l *zipLogMap) forStep(jobID int64, stepNumber int) (*zip.File, bool) {
173 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