Function delete [src]
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.
Prototype
pub fn delete(self: *File) uefi.UnexpectedError!bool Parameters
self: *File Source
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),
}
}