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

Method with_scc

atomic-core/src/output/alive/order.rs:193–197  ·  view source on GitHub ↗

Create a path with a single SCC.

(scc: SccId)

Source from the content-addressed store, hash-verified

191
192 /// Create a path with a single SCC.
193 pub fn with_scc(scc: SccId) -> Self {
194 Self {
195 elements: vec![PathElement::scc(scc)],
196 }
197 }
198
199 /// Push an element onto the path.
200 pub fn push(&mut self, element: PathElement) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected