Skip to content

Commit

Permalink
uefi(filesystem): make open public in uefi::fs::FileSystem
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
RaitoBezarius committed Nov 9, 2023
1 parent bea7fdf commit 38d87ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uefi/src/fs/file_system/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ impl<'a> FileSystem<'a> {
/// May create a file if [`UefiFileMode::CreateReadWrite`] is set. May
/// create a directory if [`UefiFileMode::CreateReadWrite`] and `create_dir`
/// is set. The parameter `create_dir` is ignored otherwise.
fn open(
pub fn open(
&mut self,
path: &Path,
mode: UefiFileMode,
Expand Down

0 comments on commit 38d87ad

Please sign in to comment.