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

Function anchor_id

perro_website/build.rs:507–517  ·  view source on GitHub ↗
(text: &str)

Source from the content-addressed store, hash-verified

505 | "scripting/ui"
506 | "scripting/water"
507 )
508 {
509 "Author"
510 } else if slug.starts_with("scripting/") {
511 "Script"
512 } else if slug.starts_with("project/") {
513 "Ship"
514 } else {
515 "Reference"
516 }
517}
518
519fn route_path(collection: &str, slug: &str) -> String {
520 match (collection, slug) {

Callers 1

headingsFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected