(job shared.Job, step shared.Step)
| 276 | } |
| 277 | |
| 278 | func stepLogFilenameRegexp(job shared.Job, step shared.Step) *regexp.Regexp { |
| 279 | sanitizedJobName := getJobNameForLogFilename(job.Name) |
| 280 | re := fmt.Sprintf(`^%s\/%d_.*\.txt$`, regexp.QuoteMeta(sanitizedJobName), step.Number) |
| 281 | return regexp.MustCompile(re) |
| 282 | } |
| 283 | |
| 284 | /* |
| 285 | 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