Ashet OS

async_call: ashet.fs.Resize

Documentation

Resizes the file to the given length in bytes. Can be also used to truncate a file to zero length.

Inputs

file: File
length: u64

Errors

DiskError
InvalidHandle
NoSpaceLeft
SystemResources