MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / merge

Method merge

src/sessions/shared.rs:23–32  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

21 /// Accumulate another pass's counters into this one.
22 #[must_use]
23 pub fn merge(self, other: Self) -> Self {
24 Self {
25 sessions_upserted: self
26 .sessions_upserted
27 .saturating_add(other.sessions_upserted),
28 messages_upserted: self
29 .messages_upserted
30 .saturating_add(other.messages_upserted),
31 }
32 }
33}
34
35/// The incremental position persisted between ingestion runs.

Callers 4

ingest_sourcesFunction · 0.45
ingest_sourceFunction · 0.45
ingest_homesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected