FileSystem.truncate

Change the size of a file.

fi will always be NULL if the file is not currenlty open, but may also be NULL if the file is open.

Unless FUSE_CAP_HANDLE_KILLPRIV is disabled, this method is expected to reset the setuid and setgid bits.

class FileSystem
@null
void
truncate
(
string path
,
off_t off
,)

Meta