HolyLib Wiki

filesystem.Size

 number filesystem.Size( string fileName, string gamePath = GAME )

Description

Returns the size of the given file.

Arguments

1string fileName

the file to use

2string gamePath = GAME

game path to use

Returns

1number size

Returns the file size or 0 on failure