Trait tlrepo::RepositoryExt
source · pub trait RepositoryExt {
// Required method
fn thread_local(&self) -> ThreadLocalRepo;
}
Expand description
Extension trait for git2::Repository
, to create a ThreadLocalRepo
with the path to the
repository.
Required Methods§
sourcefn thread_local(&self) -> ThreadLocalRepo
fn thread_local(&self) -> ThreadLocalRepo
Get a ThreadLocalRepo
that reopens the path to this git2::Repository
on each thread.