(file_path: impl AsRef<Path>)
| 657 | } |
| 658 | |
| 659 | fn read_file(file_path: impl AsRef<Path>) -> anyhow::Result<String> { |
| 660 | fs::read_to_string(&file_path) |
| 661 | .with_context(|| format!("failed to read {}", file_path.as_ref().to_string_lossy())) |
| 662 | } |
| 663 | |
| 664 | fn parse_cometbft_node_id(value: impl AsRef<str>) -> anyhow::Result<String> { |
| 665 | let value = value.as_ref().trim().to_string(); |
no test coverage detected