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.

The kind of hash the repository is configured to use.

Refresh persistent object database structures to reflect the state on disk.

Implementors