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

Method add_up_context

atomic-core/src/apply/workspace.rs:434–436  ·  view source on GitHub ↗

Add an up-context position (predecessor). Up-context vertices are the predecessors where new content will be inserted after.

(&mut self, pos: Position<NodeId>)

Source from the content-addressed store, hash-verified

432 /// Up-context vertices are the predecessors where new content will be
433 /// inserted after.
434 pub fn add_up_context(&mut self, pos: Position<NodeId>) {
435 self.predecessors.push(pos);
436 }
437
438 /// Add a down-context position (successor).
439 ///

Callers 7

write_new_vertexFunction · 0.80
test_workspace_clearFunction · 0.80

Calls 1

pushMethod · 0.45