MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / discover_nonexistent_dir

Function discover_nonexistent_dir

nodedb-wal/src/segment/discovery.rs:54–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53 #[test]
54 fn discover_nonexistent_dir() {
55 let segments = discover_segments(Path::new("/nonexistent/wal/dir")).unwrap();
56 assert!(segments.is_empty());
57 }
58
59 #[test]
60 fn discover_segments_sorted() {

Callers

nothing calls this directly

Calls 1

discover_segmentsFunction · 0.85

Tested by

no test coverage detected