pub struct TreeStore { /* private fields */ }Implementations§
Source§impl TreeStore
impl TreeStore
pub fn new(base_dir: PathBuf) -> Self
Sourcepub fn write(&self, entries: &[TreeEntry]) -> Result<String>
pub fn write(&self, entries: &[TreeEntry]) -> Result<String>
Write tree entries (sorted by name). Returns hash hex.
Auto Trait Implementations§
impl Freeze for TreeStore
impl RefUnwindSafe for TreeStore
impl Send for TreeStore
impl Sync for TreeStore
impl Unpin for TreeStore
impl UnsafeUnpin for TreeStore
impl UnwindSafe for TreeStore
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