MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / asset_path

Function asset_path

src/fs.rs:11–13  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

9}
10
11pub fn asset_path(path: &str) -> PathBuf {
12 base_path().join(path)
13}
14
15pub fn read(path: &str) -> Vec<u8> {
16 let full_path = asset_path(path);

Callers 2

readFunction · 0.85
read_to_stringFunction · 0.85

Calls 1

base_pathFunction · 0.85

Tested by

no test coverage detected