Skip to main content

codegraph_update_object

Function codegraph_update_object 

Source
pub fn codegraph_update_object(
    nodes_batch: &RecordBatch,
    node_id: &str,
    updates: &NodeUpdate,
) -> Result<RecordBatch>
Expand description

Update a CodeNode’s fields in-place. Returns the updated batch.

Finds the node by ID, applies the updates, and returns a new RecordBatch with the modifications. The original batch is not mutated.