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

Method oid

atomic-cli/src/commands/git/guard.rs:137–143  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

135 }
136
137 fn oid(&self) -> Option<&str> {
138 match self {
139 Self::Attached { oid, .. } | Self::Detached { oid } => Some(oid),
140 Self::Unknown { oid } => oid.as_deref(),
141 Self::Unborn { .. } | Self::MissingTarget { .. } => None,
142 }
143 }
144}
145
146#[derive(Clone, Debug, Eq, PartialEq)]

Callers 2

classify_guardFunction · 0.45
checkpoint_oidFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected