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

Method epoch

crates/commitlog/src/lib.rs:233–235  ·  view source on GitHub ↗

Get the current epoch. See also: [`Commit::epoch`].

(&self)

Source from the content-addressed store, hash-verified

231 ///
232 /// See also: [`Commit::epoch`].
233 pub fn epoch(&self) -> u64 {
234 self.inner.read().unwrap().epoch()
235 }
236
237 /// Update the current epoch.
238 ///

Callers

nothing calls this directly

Calls 2

unwrapMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected