Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method Fuse.Operations()->truncate()


Method truncate

int truncate(string path, int new_length)

Description

Shrink or enlarge a file

Returns

errno or 0