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

Function test_sink_modified_time

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

Source from the content-addressed store, hash-verified

876
877 #[test]
878 fn test_sink_modified_time() {
879 let sink = Sink::new();
880 let time = sink.modified_time("/any/path").unwrap();
881 assert_eq!(time, SystemTime::UNIX_EPOCH);
882 }
883
884 #[test]
885 fn test_sink_exists() {

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
modified_timeMethod · 0.45

Tested by

no test coverage detected