MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / free_node

Method free_node

node-graph/interpreted-executor/src/dynamic_executor.rs:327–334  ·  view source on GitHub ↗

Removes a node from the [`BorrowTree`] and returns its associated path. This method removes the specified node from both the `nodes` HashMap and, if applicable, the `source_map` HashMap. # Arguments `self` - Mutable reference to the [`BorrowTree`]. `id` - The `NodeId` of the node to be removed. # Returns [`Option `] - The path associated with the removed node, or `None` if the node wasn'

(&mut self, id: NodeId)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateMethod · 0.80

Calls 2

getMethod · 0.65
removeMethod · 0.45

Tested by

no test coverage detected