Operations.truncate

Truncate a file to the given length.

class Operations
void
truncate
(
const(char)[] path
,
ulong length
)

Parameters

path const(char)[]

The path to the file to trunate.

length ulong

Truncate file to this given length.

Meta