(&self)
| 74 | |
| 75 | impl HeadObservation { |
| 76 | pub fn oid(&self) -> Option<Oid> { |
| 77 | match self { |
| 78 | Self::Attached { oid, .. } | Self::Detached { oid } => Some(*oid), |
| 79 | Self::Unborn { .. } | Self::MissingTarget { .. } => None, |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | pub fn symref(&self) -> Option<&str> { |
| 84 | match self { |
no outgoing calls
no test coverage detected