MCPcopy Create free account
hub / github.com/PerroEngine/Perro / rename

Method rename

perro_source/runtime_project/perro_runtime/src/cns/node_arena.rs:250–268  ·  view source on GitHub ↗

Rename a node, keeping the name index in sync. Bumps the mutation version like any `get_mut` write. Returns `false` for dead ids.

(&mut self, id: NodeID, name: Cow<'static, str>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

set_node_nameMethod · 0.45

Calls 7

valid_slotMethod · 0.80
bump_mutation_versionMethod · 0.80
cloneMethod · 0.80
unindex_nameMethod · 0.80
expectMethod · 0.45
is_emptyMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected