MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / index_html

Function index_html

cli/src/init.rs:13–15  ·  view source on GitHub ↗
(title: &str)

Source from the content-addressed store, hash-verified

11const INDEX_HTML: &str = include_str!("templates/scaffold.html");
12
13fn index_html(title: &str) -> String {
14 INDEX_HTML.replace("__EDGE_TITLE__", title)
15}
16
17pub fn run(name: Option<&str>, bare: bool) -> Result<()> {
18 let dir = name.unwrap_or(".");

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected