Returns a mutable reference to the underlying `git2::Repository`.
(&mut self)
| 65 | |
| 66 | /// Returns a mutable reference to the underlying `git2::Repository`. |
| 67 | pub fn inner_mut(&mut self) -> &mut Repository { |
| 68 | &mut self.repo |
| 69 | } |
| 70 | |
| 71 | pub fn head(&self) -> Result<Reference<'_>> { |
| 72 | Ok(self.repo.head()?) |