(head: &GitHeadObservation)
| 1729 | } |
| 1730 | |
| 1731 | fn head_symref(head: &GitHeadObservation) -> Option<&str> { |
| 1732 | match head { |
| 1733 | GitHeadObservation::Attached { symref, .. } |
| 1734 | | GitHeadObservation::Unborn { symref } |
| 1735 | | GitHeadObservation::MissingTarget { symref } => Some(symref), |
| 1736 | GitHeadObservation::Detached { .. } => None, |
| 1737 | } |
| 1738 | } |
| 1739 | |
| 1740 | /// Observation for a working copy outside the bridge: its Git metadata |
| 1741 | /// belongs to the user and ordinary Atomic boundaries do not interpret it. |
no outgoing calls
no test coverage detected