Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

Method Fuse.Operations()->truncate()


Method truncate

int truncate(string path, int new_length)

Description

Shrink or enlarge a file

Returns

errno or 0