MCPcopy Index your code
hub / github.com/AmrDeveloper/FileQL / validate_files_paths

Function validate_files_paths

src/main.rs:196–203  ·  view source on GitHub ↗
(files: &[String])

Source from the content-addressed store, hash-verified

194}
195
196fn 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}

Callers 2

mainFunction · 0.85
launch_fileql_replFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected