Function flushBlocks [src]

Flushes all modified data to a physical block device.

Prototype

pub fn flushBlocks(self: *Self) FlushBlocksError!void

Parameters

self: *Self

Possible Errors

DeviceError
NoMedia
Unexpected UnexpectedError

Source

pub fn flushBlocks(self: *Self) FlushBlocksError!void { switch (self._flush_blocks(self)) { .success => {}, .device_error => return Error.DeviceError, .no_media => return Error.NoMedia, else => |status| return uefi.unexpectedStatus(status), } }