(trace_root: &Path, run_id: &str, state: &RunState)
| 314 | } |
| 315 | |
| 316 | pub fn write_state(trace_root: &Path, run_id: &str, state: &RunState) -> Result<()> { |
| 317 | let path = state_path(trace_root, run_id); |
| 318 | atomic_write_json(&path, "state", state) |
| 319 | } |
| 320 | |
| 321 | pub fn resolve_run(trace_root: &Path, run_id: Option<&str>) -> Result<String> { |
| 322 | if let Some(id) = run_id { |
no test coverage detected
searching dependent graphs…