MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / session_turn_namespace

Function session_turn_namespace

atomic-core/src/change/session.rs:770–772  ·  view source on GitHub ↗
(session_id: &str)

Source from the content-addressed store, hash-verified

768/// Derive the local ordered-index prefix for an external session ID.
769#[inline]
770pub fn session_turn_namespace(session_id: &str) -> [u8; 32] {
771 *blake3::hash(session_id.as_bytes()).as_bytes()
772}
773
774// ---------------------------------------------------------------------------
775// Value types

Callers 8

get_session_turnsMethod · 0.85
append_session_turnMethod · 0.85
rewrite_session_turnsMethod · 0.85
attach_turn_boundaryMethod · 0.85
turn_keyFunction · 0.85

Calls 2

hashFunction · 0.50
as_bytesMethod · 0.45