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

Function is_cell_gdpr_erasure

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

Returns true if `bytes` is the GDPR erasure sentinel.

(bytes: &[u8])

Source from the content-addressed store, hash-verified

65
66/// Returns true if `bytes` is the GDPR erasure sentinel.
67pub fn is_cell_gdpr_erasure(bytes: &[u8]) -> bool {
68 bytes == CELL_GDPR_ERASURE_SENTINEL
69}
70
71#[cfg(test)]
72mod tests {

Callers 3

materialiseMethod · 0.85
ceiling_resolve_cellFunction · 0.85
is_cell_sentinelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected