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

Method read_file

atomic-core/src/output/traits.rs:572–574  ·  view source on GitHub ↗
(&self, _path: &str, _buffer: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

570 }
571
572 fn read_file(&self, _path: &str, _buffer: &mut Vec<u8>) -> Result<(), Self::Error> {
573 Ok(())
574 }
575
576 fn modified_time(&self, _path: &str) -> Result<SystemTime, Self::Error> {
577 Ok(SystemTime::UNIX_EPOCH)

Callers 4

record_added_fileFunction · 0.45
record_modified_fileFunction · 0.45
test_sink_read_fileFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_sink_read_fileFunction · 0.36