Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ close_is_idempotent
Function
close_is_idempotent
nodedb-cluster/src/applied_watcher/watcher.rs:170–175 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
168
169
#[test]
170
fn close_is_idempotent() {
171
let w = AppliedIndexWatcher::new();
172
w.close();
173
w.close();
174
assert!(w.is_closed());
175
}
176
}
Callers
nothing calls this directly
Calls
1
close
Method · 0.80
Tested by
no test coverage detected