MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / bytes

Function bytes

tests/agent_suite/update_plugin_test.rs:40–42  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

38}
39
40fn bytes(path: &Path) -> Vec<u8> {
41 std::fs::read(path).unwrap_or_else(|e| panic!("failed to read {}: {e}", path.display()))
42}
43
44fn text(path: &Path) -> String {
45 std::fs::read_to_string(path)

Calls 1

readFunction · 0.50

Tested by

no test coverage detected