flush
Function parameters
Parameters
- self:*File
Type definitions in this namespace
Types
Source
Implementation
pub fn flush(self: *File) FlushError!void {
switch (self._flush(self)) {
.success => {},
.device_error => return Error.DeviceError,
.volume_corrupted => return Error.VolumeCorrupted,
.write_protected => return Error.WriteProtected,
.access_denied => return Error.AccessDenied,
.volume_full => return Error.VolumeFull,
else => |status| return uefi.unexpectedStatus(status),
}
}