Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ new
Method
new
crates/commitlog/src/tests/partial.rs:259–264 ·
view source on GitHub ↗
(max_len: u64)
Source
from the content-addressed store, hash-verified
257
258
impl ShortMem {
259
pub fn new(max_len: u64) -> Self {
260
Self {
261
inner: repo::Memory::new(max_len * 4096),
262
max_len,
263
}
264
}
265
}
266
267
impl fmt::Display for ShortMem {
Callers
nothing calls this directly
Calls
1
new
Function · 0.50
Tested by
no test coverage detected