(files: &[String])
| 194 | } |
| 195 | |
| 196 | fn validate_files_paths(files: &[String]) -> Result<(), String> { |
| 197 | for file in files { |
| 198 | if !Path::new(file).exists() { |
| 199 | return Err(format!("File ${} is not exists", file)); |
| 200 | } |
| 201 | } |
| 202 | Ok(()) |
| 203 | } |
no outgoing calls
no test coverage detected