pub fn delete(self: *File) uefi.UnexpectedError!bool
Delete the file.
Returns true if the file was deleted, false if the file was not deleted, which is a warning according to the UEFI specification.
self: *File
120 121 122 123 124 125 126
pub fn delete(self: *File) uefi.UnexpectedError!bool { switch (self._delete(self)) { .success => return true, .warn_delete_failure => return false, else => |status| return uefi.unexpectedStatus(status), } }
Delete the file.
Returns true if the file was deleted, false if the file was not deleted, which is a warning according to the UEFI specification.