(value: git::Object)
| 46 | type Error = Error; |
| 47 | |
| 48 | fn try_from(value: git::Object) -> Result<Self> { |
| 49 | match value { |
| 50 | git::Object::Link(link) => Ok(link.into()), |
| 51 | _ => Err(Error::Repo("not an object".into())), |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | impl TryFrom<git::Object> for Topic { |
nothing calls this directly
no test coverage detected