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

Function test_sink_read_file

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

Source from the content-addressed store, hash-verified

868
869 #[test]
870 fn test_sink_read_file() {
871 let sink = Sink::new();
872 let mut buffer = Vec::new();
873 sink.read_file("/any/path", &mut buffer).unwrap();
874 assert!(buffer.is_empty());
875 }
876
877 #[test]
878 fn test_sink_modified_time() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
read_fileMethod · 0.45

Tested by

no test coverage detected