(dir: &Path)
| 534 | } |
| 535 | |
| 536 | async fn find_instruction_file(dir: &Path) -> Option<PathBuf> { |
| 537 | for name in INSTRUCTION_FILES { |
| 538 | let path = dir.join(name); |
| 539 | if path.exists() && path.is_file() { |
| 540 | return Some(path); |
| 541 | } |
| 542 | } |
| 543 | None |
| 544 | } |
no test coverage detected