Trait gix::prelude::ReferenceExt
source · pub trait ReferenceExt {
// Required method
fn attach(self, repo: &Repository) -> Reference<'_>;
}
Expand description
Extensions for references.
Required Methods§
sourcefn attach(self, repo: &Repository) -> Reference<'_>
fn attach(self, repo: &Repository) -> Reference<'_>
Attach Repository
to the given reference. It can be detached later with [detach()]
.