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

Function read_to_string

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

Source from the content-addressed store, hash-verified

19}
20
21pub fn read_to_string(path: &str) -> String {
22 let full_path = asset_path(path);
23
24 std::fs::read_to_string(full_path).unwrap()
25}

Callers 1

from_fileMethod · 0.85

Calls 1

asset_pathFunction · 0.85

Tested by

no test coverage detected