pub async fn IndexFiles( path: String, patterns: Vec<String>, exclude_patterns: Option<Vec<String>>, max_depth: Option<u32>, ) -> Result<Struct, String>