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

Function copy_dir

perro_website/build.rs:208–220  ·  view source on GitHub ↗
(src: &Path, dst: &Path)

Source from the content-addressed store, hash-verified

206 if let Some(fragment) = fragment {
207 if !fragment.is_empty()
208 && !target_doc
209 .headings
210 .iter()
211 .any(|heading| heading.id == fragment)
212 {
213 failures.push(format!(
214 "{} links to missing anchor {path}#{fragment}",
215 source.route_path
216 ));
217 }
218 }
219}
220
221fn build_and_sync_demo(root: &Path, project_name: &str, public_name: &str) -> io::Result<()> {
222 let project_root = root.join("demos").join(project_name);
223 emit_rerun_for_tree(&project_root)?;

Callers 1

sync_dirFunction · 0.85

Calls 3

read_dirFunction · 0.85
joinMethod · 0.80
pathMethod · 0.45

Tested by

no test coverage detected