Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method Fuse.Operations()->truncate()


Method truncate

int truncate(string path, int new_length)

Description

Shrink or enlarge a file

Returns

errno or 0