Trait git_repository::prelude::RepositoryAccessExt [−][src]
pub trait RepositoryAccessExt: Access + Sized {
fn committer(&self) -> Result<Signature> { ... }
fn hash_kind(&self) -> Result<Kind> { ... }
fn refresh_object_database(&self) -> Result<(), Error> { ... }
}
Expand description
The catch-all of extension traits.
Provided methods
Return the committer as configured by this repository, which is determined by…
- …the git configuration…
- …the GIT_(AUTHOR|COMMITTER)_(NAME|EMAIL|DATE) environment variables…
…and in that order.
fn refresh_object_database(&self) -> Result<(), Error>
fn refresh_object_database(&self) -> Result<(), Error>
Refresh persistent object database structures to reflect the state on disk.