MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / empty_slot

Function empty_slot

document/graph-storage/src/model.rs:150–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 fn empty_slot() -> ExportSlot {
151 ExportSlot {
152 target: None,
153 timestamp: TimeStamp { counter: 5, peer: crate::PeerId(1) },
154 }
155 }
156
157 /// A `SetExport(None)` truncation leaves a trailing empty slot. Such a network is value-equal to
158 /// the same network without that slot, so the soak oracle doesn't false-report drift.

Callers

nothing calls this directly

Calls 1

PeerIdClass · 0.85

Tested by

no test coverage detected