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

Method scc_id

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

Get the SCC ID if this is an SCC element.

(&self)

Source from the content-addressed store, hash-verified

163
164 /// Get the SCC ID if this is an SCC element.
165 pub fn scc_id(&self) -> Option<SccId> {
166 match self {
167 PathElement::Scc { scc } => Some(*scc),
168 PathElement::Conflict { .. } => None,
169 }
170 }
171}
172
173// CONFLICT PATH

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected