pub struct FsBlobStore { /* private fields */ }Expand description
Filesystem-based blob store with git-style two-level directory layout.
Blobs are stored as <root>/<first-2-hex-chars>/<remaining-hex>.blob.
For example, hash abcd12...ef is stored at <root>/ab/cd12...ef.blob.
Implementations§
Trait Implementations§
Source§impl BlobStore for FsBlobStore
impl BlobStore for FsBlobStore
Auto Trait Implementations§
impl Freeze for FsBlobStore
impl RefUnwindSafe for FsBlobStore
impl Send for FsBlobStore
impl Sync for FsBlobStore
impl Unpin for FsBlobStore
impl UnsafeUnpin for FsBlobStore
impl UnwindSafe for FsBlobStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more