| 32 | } |
| 33 | |
| 34 | type apiLogFetcher struct { |
| 35 | httpClient *http.Client |
| 36 | |
| 37 | repo ghrepo.Interface |
| 38 | jobID int64 |
| 39 | } |
| 40 | |
| 41 | func (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") |
nothing calls this directly
no outgoing calls
no test coverage detected