Emilua API Reference filesystem resize_file For the latest stable version, please use Emilua API 0.10! filesystem.resize_file Synopsis local fs = require "filesystem" fs.resize_file(p: fs.path, new_size: integer) Description See https://en.cppreference.com/w/cpp/filesystem/resize_file. rename is_empty