MCPcopy Create free account
hub / github.com/douglance/devsql / inner_mut

Method inner_mut

crates/vcsql/src/git/repository.rs:67–69  ·  view source on GitHub ↗

Returns a mutable reference to the underlying `git2::Repository`.

(&mut self)

Source from the content-addressed store, hash-verified

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()?)

Callers 1

populateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected