GetFreeSpace

Returns the number of unallocated bytes in the partition named by this abstract path name.

The returned number of unallocated bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after this call. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine. This method makes no guarantee that write operations to this file system will succeed.

GetFreeSpace( file )

Returns: [[object-number|Numeric]

Argument Description
file
object, required

file path

Alias: path, filePath

Examples

There are currently no examples for this function

See also