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

Function scaffolded

cli/src/ui.rs:54–62  ·  view source on GitHub ↗

The created-files tree printed by `edge init`.

(dir: &str, items: &[&str], next: &str)

Source from the content-addressed store, hash-verified

52
53/// The created-files tree printed by `edge init`.
54pub fn scaffolded(dir: &str, items: &[&str], next: &str) {
55 let label = if dir == "." { "project" } else { dir };
56 println!(" created {label}/");
57 for (i, item) in items.iter().enumerate() {
58 let branch = if i + 1 == items.len() { "└─" } else { "├─" };
59 println!(" {branch} {item}");
60 }
61 note(next);
62}
63
64/// The `edge serve` banner.
65pub fn serve_banner(port: u16, dir: &Path) {

Callers 1

runFunction · 0.85

Calls 3

noteFunction · 0.85
iterMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected