File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,15 @@ impl LoadedImage {
56
56
self . device_handle
57
57
}
58
58
59
- /// Get a reference to the `file_path`.
59
+ /// Get a reference to the `file_path` portion of the DeviceHandle that the
60
+ /// EFI image was loaded from.
60
61
///
61
- /// Return `None` if the pointer to the file path portion specific to
62
- /// DeviceHandle that the EFI Image was loaded from is null.
62
+ /// For a full device path, consider using the [`LoadedImageDevicePath`]
63
+ /// protocol.
64
+ ///
65
+ /// Returns `None` if `file_path` is null.
66
+ ///
67
+ /// [`LoadedImageDevicePath`]: crate::proto::device_path::LoadedImageDevicePath
63
68
#[ must_use]
64
69
pub fn file_path ( & self ) -> Option < & DevicePath > {
65
70
if self . file_path . is_null ( ) {
You can’t perform that action at this time.
0 commit comments