(job shared.Job, step shared.Step)
| 272 | } |
| 273 | |
| 274 | func stepLogFilenameRegexp(job shared.Job, step shared.Step) *regexp.Regexp { |
| 275 | sanitizedJobName := getJobNameForLogFilename(job.Name) |
| 276 | re := fmt.Sprintf(`^%s\/%d_.*\.txt$`, regexp.QuoteMeta(sanitizedJobName), step.Number) |
| 277 | return regexp.MustCompile(re) |
| 278 | } |
| 279 | |
| 280 | /* |
| 281 | If you're reading this comment by necessity, I'm sorry and if you're reading it for fun, you're welcome, you weirdo. |
no test coverage detected