MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / is_cell_sentinel

Function is_cell_sentinel

nodedb-array/src/tile/cell_payload.rs:57–59  ·  view source on GitHub ↗

Returns true if `bytes` is any non-payload sentinel byte sequence.

(bytes: &[u8])

Source from the content-addressed store, hash-verified

55
56/// Returns true if `bytes` is any non-payload sentinel byte sequence.
57pub fn is_cell_sentinel(bytes: &[u8]) -> bool {
58 is_cell_tombstone(bytes) || is_cell_gdpr_erasure(bytes)
59}
60
61/// Returns true if `bytes` is the soft-delete tombstone sentinel.
62pub fn is_cell_tombstone(bytes: &[u8]) -> bool {

Callers 1

live_cell_countMethod · 0.85

Calls 2

is_cell_tombstoneFunction · 0.85
is_cell_gdpr_erasureFunction · 0.85

Tested by

no test coverage detected