pub struct Store { /* private fields */ }
Expand description
The git reference store. TODO: Figure out if handles are needed at all, which depends on the ref-table implementation.
Implementations
sourceimpl Store
impl Store
sourcepub fn to_handle(&self) -> Handle
pub fn to_handle(&self) -> Handle
Return a new handle which sees all references if namespace
is None
or all read and write operations are limited
to the given namespace
if Some
.
sourcepub fn to_handle_namespaced(&self, namespace: Option<Namespace>) -> Handle
pub fn to_handle_namespaced(&self, namespace: Option<Namespace>) -> Handle
As above, but supports a namespace to be set
Auto Trait Implementations
impl !RefUnwindSafe for Store
impl !Send for Store
impl !Sync for Store
impl Unpin for Store
impl !UnwindSafe for Store
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more