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

Function tables_fields_names

src/schema.rs:28–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28fn tables_fields_names() -> &'static HashMap<&'static str, Vec<&'static str>> {
29 static HASHMAP: OnceLock<HashMap<&'static str, Vec<&'static str>>> = OnceLock::new();
30 HASHMAP.get_or_init(|| {
31 let mut map = HashMap::new();
32 map.insert(
33 "files",
34 vec!["path", "parent", "extension", "is_dir", "is_file", "size"],
35 );
36 map
37 })
38}
39
40pub fn create_fileql_environment() -> Environment {
41 let schema = Schema {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected