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

Function route_path

perro_website/build.rs:275–283  ·  view source on GitHub ↗
(collection: &str, slug: &str)

Source from the content-addressed store, hash-verified

273}
274
275fn needs_demo_rebuild(
276 project_root: &Path,
277 output_dir: &Path,
278 public_dir: &Path,
279) -> io::Result<bool> {
280 // `.output` is gitignored; on a fresh checkout the committed bundle in
281 // `public/` is the up-to-date reference, so no rebuild is needed there.
282 let reference_dir = if bundle_complete(output_dir) {
283 output_dir
284 } else if bundle_complete(public_dir) {
285 public_dir
286 } else {

Callers 2

push_docFunction · 0.85
rewrite_link_targetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected