Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ is_empty
Method
is_empty
crates/commitlog/src/stream/common.rs:102–104 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
100
}
101
102
pub fn is_empty(&self) -> bool {
103
self.end.is_some_and(|end| end < self.start)
104
}
105
106
pub fn contains(&self, item: &u64) -> bool {
107
item >= &self.start
Callers
2
peek_buf
Function · 0.45
retain_range
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected