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

Method symref

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

Source from the content-addressed store, hash-verified

126
127impl GitHeadEvidence {
128 fn symref(&self) -> Option<&str> {
129 match self {
130 Self::Attached { symref, .. }
131 | Self::Unborn { symref }
132 | Self::MissingTarget { symref } => Some(symref),
133 Self::Detached { .. } | Self::Unknown { .. } => None,
134 }
135 }
136
137 fn oid(&self) -> Option<&str> {
138 match self {

Callers 2

classify_guardFunction · 0.45
checkpoint_branchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected