MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / rank

Method rank

build.rs:176–178  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

174 .expect("write");
175 }
176 out.push_str("];\n\n");
177 out.push_str(
178 "/// Look up a bundled program file by its repo-relative `programs/...` path.\n\
179 pub fn source_by_path(key: &str) -> Option<&'static str> {\n\
180 SOURCE_FILES.iter().find(|(path, _)| *path == key).map(|(_, source)| *source)\n\
181 }\n",

Callers 1

generate_userspaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected