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

Function test_sink_file_metadata

atomic-core/src/output/traits.rs:863–867  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

861
862 #[test]
863 fn test_sink_file_metadata() {
864 let sink = Sink::new();
865 let meta = sink.file_metadata("/any/path").unwrap();
866 assert_eq!(meta, FileMetadata::file());
867 }
868
869 #[test]
870 fn test_sink_read_file() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
file_metadataMethod · 0.45

Tested by

no test coverage detected