filesystem.space

Synopsis

local fs = require "filesystem"
fs.space(p: fs.path) -> { capacity: integer, free: integer, available: integer }

Description

Determines the information about the filesystem on which the pathname p is located.

Bytes are used for the units.