MCPcopy Create free account
hub / github.com/PerroEngine/Perro / script_file_sig

Function script_file_sig

perro_editor/res/scripts/ui/editor_inspector_values.rs:1888–1897  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

1886 continue;
1887 }
1888 let rel = path
1889 .strip_prefix(res_dir)
1890 .ok()
1891 .map(|value| value.to_string_lossy().replace('\\', "/"))
1892 .unwrap_or_else(|| path.to_string_lossy().replace('\\', "/"));
1893 if rel == skip_rel {
1894 continue;
1895 }
1896 let module = module_name_from_rel(&rel);
1897 let short_module = module_short_name_from_rel(&rel);
1898 let origin = format!("res://{rel}");
1899 let Some(other) = parse_cached_script_schema_file(
1900 &path,

Callers 1

Calls 1

okMethod · 0.80

Tested by

no test coverage detected