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