(instructions: &[InstructionFile])
| 504 | } |
| 505 | |
| 506 | pub fn merge_instructions(instructions: &[InstructionFile]) -> String { |
| 507 | instructions |
| 508 | .iter() |
| 509 | .map(|i| format!("Instructions from: {}\n{}", i.path, i.content)) |
| 510 | .collect::<Vec<_>>() |
| 511 | .join("\n\n") |
| 512 | } |
| 513 | |
| 514 | pub fn find_instruction_files(dir: &Path) -> Vec<PathBuf> { |
| 515 | let mut files = Vec::new(); |
nothing calls this directly
no outgoing calls
no test coverage detected