(self)
| 146 | type Error = Error; |
| 147 | |
| 148 | fn try_into(self) -> Result<RepoLink> { |
| 149 | let bytes = self.content(); |
| 150 | let link: RepoLink = serde_yaml::from_slice(bytes)?; |
| 151 | Ok(link) |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | impl<'repo> TryInto<RepoObject> for git2::Blob<'repo> { |