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

Function ensure_ptr

crates/table/src/pointer_map.rs:73–75  ·  view source on GitHub ↗
(rp: RowPointer)

Source from the content-addressed store, hash-verified

71/// used by [`PtrOrCollider::is_ptr`], to `false`.
72#[inline]
73const fn ensure_ptr(rp: RowPointer) -> RowPointer {
74 rp.with_reserved_bit(false)
75}
76
77impl PtrOrCollider {
78 /// Returns a pointer.

Callers 2

ptrMethod · 0.85
insertMethod · 0.85

Calls 1

with_reserved_bitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…