Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

Method Fuse.Operations()->truncate()


Method truncate

int truncate(string path, int new_length)

Description

Shrink or enlarge a file

Returns

errno or 0