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

Method active_markers

atomic-cli/src/commands/git/observation.rs:293–299  ·  view source on GitHub ↗

Present markers that are authoritative evidence of an active operation.

(&self)

Source from the content-addressed store, hash-verified

291
292 /// Present markers that are authoritative evidence of an active operation.
293 pub fn active_markers(&self) -> Vec<OperationMarkerKind> {
294 self.markers
295 .iter()
296 .filter(|marker| marker.is_present() && marker.marker.is_active_operation_evidence())
297 .map(|marker| marker.marker)
298 .collect()
299 }
300}
301
302/// A relevant Git ref and its current direct or symbolic target.

Callers

nothing calls this directly

Calls 4

collectMethod · 0.45
iterMethod · 0.45
is_presentMethod · 0.45

Tested by

no test coverage detected