mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 12:30:17 +00:00
fix(extractors/filesystem-device-match): clarify when to use fallback for empty criteria
This commit is contained in:
@@ -17,10 +17,10 @@ use uefi_raw::Status;
|
||||
/// This extractor finds a filesystem using some search criteria and returns
|
||||
/// the device root path that can concatenated with subpaths to access files
|
||||
/// on a particular filesystem.
|
||||
///
|
||||
/// This function only requires all the criteria to match.
|
||||
/// If no criteria is provided, no filesystem is matched.
|
||||
/// The fallback value can be used to provide a value if no match is found.
|
||||
///
|
||||
/// This function only requires all the criteria to match. If no criteria is provided,
|
||||
/// no filesystem is matched, and the fallback value is used if it is provided.
|
||||
#[derive(Serialize, Deserialize, Debug, Default, Clone)]
|
||||
pub struct FilesystemDeviceMatchExtractor {
|
||||
/// Matches a filesystem that has the specified label.
|
||||
|
||||
Reference in New Issue
Block a user