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

Function test_sink_file_metadata

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

Source from the content-addressed store, hash-verified

840
841 #[test]
842 fn test_sink_file_metadata() {
843 let sink = Sink::new();
844 let meta = sink.file_metadata("/any/path").unwrap();
845 assert_eq!(meta, FileMetadata::file());
846 }
847
848 #[test]
849 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