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§

source

fn thread_local(&self) -> ThreadLocalRepo

Get a ThreadLocalRepo that reopens the path to this git2::Repository on each thread.

Implementations on Foreign Types§

source§

impl RepositoryExt for Repository

Implementors§