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

Method epoch

crates/commitlog/src/commitlog.rs:98–100  ·  view source on GitHub ↗

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

(&self)

Source from the content-addressed store, hash-verified

96 ///
97 /// See also: [`Commit::epoch`].
98 pub fn epoch(&self) -> u64 {
99 self.head.commit.epoch
100 }
101
102 /// Update the current epoch.
103 ///

Callers 2

set_epochMethod · 0.45
start_new_segmentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected