MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / read

Function read

atomic-canonical/tests/conformance_corpus.rs:63–65  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

61}
62
63fn read(path: &Path) -> Vec<u8> {
64 fs::read(path).unwrap_or_else(|e| panic!("read {}: {e}", path.display()))
65}
66
67/// The documents of one vector: its statement, then each record line.
68fn documents(dir: &Path, vector: &Value) -> Vec<(String, Vec<u8>, bool)> {

Callers 4

documentsFunction · 0.70
vectorFunction · 0.70
wireFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected