pub struct HfsFileSystem {
pub block_size: u32,
/* private fields */
}Expand description
Hierarchical File System (HFS) file system.
Fields§
§block_size: u32Block size.
Implementations§
Source§impl HfsFileSystem
impl HfsFileSystem
Sourcepub fn get_embedded_volume_extent(&self) -> Option<&HfsExtentDescriptor>
pub fn get_embedded_volume_extent(&self) -> Option<&HfsExtentDescriptor>
Retrieves the embedded volume extent.
Sourcepub fn get_format(&self) -> &HfsFormat
pub fn get_format(&self) -> &HfsFormat
Retrieves the format.
Sourcepub fn get_volume_label(&self) -> Option<&HfsString>
pub fn get_volume_label(&self) -> Option<&HfsString>
Retrieves the volume label.
Sourcepub fn get_file_entry_by_identifier(
&self,
identifier: u32,
) -> Result<Option<HfsFileEntry>, ErrorTrace>
pub fn get_file_entry_by_identifier( &self, identifier: u32, ) -> Result<Option<HfsFileEntry>, ErrorTrace>
Retrieves the file entry for a specific identifier (CNID).
Sourcepub fn get_file_entry_by_path(
&self,
path: &Path,
) -> Result<Option<HfsFileEntry>, ErrorTrace>
pub fn get_file_entry_by_path( &self, path: &Path, ) -> Result<Option<HfsFileEntry>, ErrorTrace>
Retrieves the file entry for a specific path.
Sourcepub fn get_root_directory(&self) -> Result<HfsFileEntry, ErrorTrace>
pub fn get_root_directory(&self) -> Result<HfsFileEntry, ErrorTrace>
Retrieves the root directory (file entry).
Sourcepub fn read_data_stream(
&mut self,
data_stream: &DataStreamReference,
) -> Result<(), ErrorTrace>
pub fn read_data_stream( &mut self, data_stream: &DataStreamReference, ) -> Result<(), ErrorTrace>
Reads a file system from a data stream.
Auto Trait Implementations§
impl Forget for HfsFileSystem
impl Freeze for HfsFileSystem
impl Move for HfsFileSystem
impl RefUnwindSafe for HfsFileSystem
impl Send for HfsFileSystem
impl Sync for HfsFileSystem
impl Unpin for HfsFileSystem
impl UnsafeUnpin for HfsFileSystem
impl UnwindSafe for HfsFileSystem
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