| 1 | | /// Run details shared by the coverage and tests pages. A missing history destination |
| 2 | | /// omits that tab, so standalone reports never link outside their output folder. |
| 3 | | public struct ReportHeader: Sendable { |
| 4 | | let commit: String? |
| 5 | | let subject: String? |
| 6 | | let historyPath: String? |
| 7 | | |
| 8 | | /// `historyPath` is relative to the report root, including from source pages. |
| 9 | 167 | public init(commit: String? = nil, subject: String? = nil, historyPath: String? = nil) { |
| 10 | 167 | self.commit = commit |
| 11 | 167 | self.subject = subject |
| 12 | 167 | self.historyPath = historyPath |
| 13 | 167 | } |
| 14 | | } |