Operations.truncate

Truncate a file to the given length.

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

Parameters

path
Type: const(char)[]

The path to the file to trunate.

length
Type: ulong

Truncate file to this given length.

Meta