Trait gix::prelude::ReferenceExt

source ·
pub trait ReferenceExt {
    // Required method
    fn attach(self, repo: &Repository) -> Reference<'_>;
}
Expand description

Extensions for references.

Required Methods§

source

fn attach(self, repo: &Repository) -> Reference<'_>

Attach Repository to the given reference. It can be detached later with [detach()].

Implementations on Foreign Types§

source§

impl ReferenceExt for Reference

source§

fn attach(self, repo: &Repository) -> Reference<'_>

Implementors§