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

Method epoch

crates/commitlog/src/segment.rs:177–179  ·  view source on GitHub ↗

Get the current epoch.

(&self)

Source from the content-addressed store, hash-verified

175
176 /// Get the current epoch.
177 pub fn epoch(&self) -> u64 {
178 self.commit.epoch
179 }
180
181 /// Update the epoch.
182 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected