pub struct OverlayFS { /* private fields */ }Expand description
Overlay filesystem manager
Implementations§
Source§impl OverlayFS
impl OverlayFS
Sourcepub fn new(config: OverlayConfig) -> Self
pub fn new(config: OverlayConfig) -> Self
Create new overlay filesystem
Sourcepub fn is_mounted(&self) -> bool
pub fn is_mounted(&self) -> bool
Check if filesystem is mounted
Sourcepub fn merged_path(&self) -> &Path
pub fn merged_path(&self) -> &Path
Get merged (visible) directory
Sourcepub fn upper_path(&self) -> &Path
pub fn upper_path(&self) -> &Path
Get upper (writable) directory
Sourcepub fn lower_path(&self) -> &Path
pub fn lower_path(&self) -> &Path
Get lower (read-only) directory
Sourcepub fn get_changes_size(&self) -> Result<u64>
pub fn get_changes_size(&self) -> Result<u64>
Get total size of changes in upper layer
Auto Trait Implementations§
impl Freeze for OverlayFS
impl RefUnwindSafe for OverlayFS
impl Send for OverlayFS
impl Sync for OverlayFS
impl Unpin for OverlayFS
impl UnwindSafe for OverlayFS
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