filesystem.file_size

Synopsis

local fs = require "filesystem"
fs.file_size(p: fs.path) -> integer

Description

For a regular file p, returns its size in bytes.