We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7d275c commit 9429535Copy full SHA for 9429535
src/proto/loaded_image.rs
@@ -59,12 +59,6 @@ impl LoadedImage {
59
///
60
/// Return `None` if the pointer to the file path portion specific to
61
/// DeviceHandle that the EFI Image was loaded from is null.
62
- ///
63
- /// To get the path name from the `file_path`, the following should be
64
- /// checked to find out if the `DevicePath` is valid:
65
66
- /// - The DeviceType should be `MEDIA (0x04)`
67
- /// - The DeviceSubType should be `MEDIA_FILE_PATH (0x04)`
68
pub fn file_path(&self) -> Option<&DevicePath> {
69
unsafe { self.file_path.as_ref() }
70
}
0 commit comments