()
| 228 | } |
| 229 | |
| 230 | fn read_dashboard_source_stamp() -> Option<String> { |
| 231 | let contents = fs::read_to_string(dashboard_source_stamp_path()?).ok()?; |
| 232 | let stamp = contents.trim(); |
| 233 | (!stamp.is_empty()).then(|| stamp.to_string()) |
| 234 | } |
| 235 | |
| 236 | fn store_dashboard_source_stamp(stamp: &str) { |
| 237 | // Best-effort: if the stamp can't be written, the next build still checks |
no test coverage detected