mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-05 00:39:31 +00:00
Added FilesystemReader::primary_volume_descriptor to expose the primary volume descriptor.
This commit is contained in:
parent
5002933ffb
commit
c8218c0ca2
@ -115,6 +115,12 @@ impl FilesystemReader {
|
||||
Ok(Self { primary_volume_descriptor })
|
||||
}
|
||||
|
||||
/// Returns the primary volume descriptor
|
||||
#[must_use]
|
||||
pub const fn primary_volume_descriptor(&self) -> &PrimaryVolumeDescriptor {
|
||||
&self.primary_volume_descriptor
|
||||
}
|
||||
|
||||
/// Returns the root directory entry
|
||||
#[must_use]
|
||||
pub const fn root_dir(&self) -> &DirEntry {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user