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

Function test_position

atomic-core/src/output/repo/writer.rs:479–481  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 use crate::types::ChangePosition;
478
479 fn test_position() -> Position<NodeId> {
480 Position::new(NodeId::ROOT, ChangePosition::new(0))
481 }
482
483 /// Helper to create a writer and run a test function, then return the buffer contents
484 fn with_writer<F>(f: F) -> Vec<u8>

Callers 2

with_writerFunction · 0.70
test_newFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected