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

Struct apiLogFetcher

pkg/cmd/run/view/logs.go:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34type apiLogFetcher struct {
35 httpClient *http.Client
36
37 repo ghrepo.Interface
38 jobID int64
39}
40
41func (f *apiLogFetcher) GetLog() (io.ReadCloser, error) {
42 logPath, err := safeurl.JoinPath("repos", f.repo.RepoOwner(), f.repo.RepoName(), "actions", "jobs", strconv.FormatInt(f.jobID, 10), "logs")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected