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

Method file_metadata

atomic-core/src/output/traits.rs:568–570  ·  view source on GitHub ↗
(&self, _path: &str)

Source from the content-addressed store, hash-verified

566 type Error = SinkError;
567
568 fn file_metadata(&self, _path: &str) -> Result<FileMetadata, Self::Error> {
569 Ok(FileMetadata::file())
570 }
571
572 fn read_file(&self, _path: &str, _buffer: &mut Vec<u8>) -> Result<(), Self::Error> {
573 Ok(())

Callers 3

existsMethod · 0.45
is_directoryMethod · 0.45
test_sink_file_metadataFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_sink_file_metadataFunction · 0.36