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