For the latest stable version, please use Emilua API 0.10!

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.