MCPcopy Create free account
hub / github.com/bajrangCoder/setu / list

Method list

src/assets.rs:22–26  ·  view source on GitHub ↗
(&self, path: &str)

Source from the content-addressed store, hash-verified

20 }
21
22 fn list(&self, path: &str) -> anyhow::Result<Vec<SharedString>> {
23 Ok(Self::iter()
24 .filter_map(|p| p.starts_with(path).then(|| p.into()))
25 .collect())
26 }
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected