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

Function sync_scripts

perro_source/build_pipeline/perro_compiler/src/scripts.rs:16–20  ·  view source on GitHub ↗
(project_root: &Path)

Source from the content-addressed store, hash-verified

14 let res_dir = project_root.join("res");
15 let scripts_src = project_root.join(".perro").join("scripts").join("src");
16 let scene_vars = collect_project_scene_var_index(project_root);
17 sync_scripts_from_source(&res_dir, &scripts_src, "res://", &scene_vars)
18}
19
20pub fn sync_dlc_scripts(project_root: &Path, dlc_name: &str) -> Result<Vec<String>, CompilerError> {
21 validate_dlc_name(dlc_name)?;
22 let dlc_root = project_root.join("dlcs").join(dlc_name);
23 let scripts_src = project_root

Callers 6

compile_project_bundleFunction · 0.85
bench_commandFunction · 0.85
clippy_commandFunction · 0.85
test_commandFunction · 0.85

Calls 2

sync_scripts_from_sourceFunction · 0.85
joinMethod · 0.80

Tested by 2

test_commandFunction · 0.68