Skip to content

Commit 38d87ad

Browse files
committed
uefi(filesystem): make open public in uefi::fs::FileSystem
`open` might a bit too low-level, but it is a powerful API to bridge between high-level structures and low-level structures, it would be a shame to force end-users to reinvent it.
1 parent bea7fdf commit 38d87ad

File tree

1 file changed

+1
-1
lines changed
  • uefi/src/fs/file_system

1 file changed

+1
-1
lines changed

Diff for: uefi/src/fs/file_system/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ impl<'a> FileSystem<'a> {
404404
/// May create a file if [`UefiFileMode::CreateReadWrite`] is set. May
405405
/// create a directory if [`UefiFileMode::CreateReadWrite`] and `create_dir`
406406
/// is set. The parameter `create_dir` is ignored otherwise.
407-
fn open(
407+
pub fn open(
408408
&mut self,
409409
path: &Path,
410410
mode: UefiFileMode,

0 commit comments

Comments
 (0)