MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / open_log

Function open_log

crates/commitlog/src/tests/partial.rs:169–178  ·  view source on GitHub ↗
(repo: ShortMem)

Source from the content-addressed store, hash-verified

167}
168
169fn open_log<T>(repo: ShortMem) -> commitlog::Generic<ShortMem, T> {
170 commitlog::Generic::open(
171 repo,
172 Options {
173 max_segment_size: 1024,
174 ..Options::default()
175 },
176 )
177 .unwrap()
178}
179
180const ENOSPC: i32 = 28;
181

Callers

nothing calls this directly

Calls 2

openFunction · 0.50
unwrapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…