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

Method forJob

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

Source from the content-addressed store, hash-verified

171}
172
173func (l *zipLogMap) forJob(jobID int64) (*zip.File, bool) {
174 f, ok := l.jobs[jobID]
175 return f, ok
176}
177
178func (l *zipLogMap) forStep(jobID int64, stepNumber int) (*zip.File, bool) {
179 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