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

Method up_context_count

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

Get the number of up-context positions.

(&self)

Source from the content-addressed store, hash-verified

475
476 /// Get the number of up-context positions.
477 pub fn up_context_count(&self) -> usize {
478 self.predecessors.len()
479 }
480
481 /// Get the number of down-context positions.
482 pub fn down_context_count(&self) -> usize {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected