We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc365a1 commit e82de9dCopy full SHA for e82de9d
uefi/src/proto/loaded_image.rs
@@ -56,10 +56,13 @@ impl LoadedImage {
56
self.device_handle
57
}
58
59
- /// Get a reference to the `file_path`.
+ /// Get a reference to the `file_path` portion of the DeviceHandle that the
60
+ /// EFI image was loaded from.
61
///
- /// Return `None` if the pointer to the file path portion specific to
62
- /// DeviceHandle that the EFI Image was loaded from is null.
+ /// For a full device path, consider using the [`LoadedImageDevicePath`]
63
+ /// protocol.
64
+ ///
65
+ /// Returns `None` if `file_path` is null.
66
#[must_use]
67
pub fn file_path(&self) -> Option<&DevicePath> {
68
if self.file_path.is_null() {
0 commit comments