filesystem
filesystem
This module provides many unrestricted filesystem functions
Supports: Linux32
| Windows32
Methods
Adds the given folder to the given game paths.
Reads a file async and calls the callback with the contents.
Creates a directory in the given path.
Checks if the give fileName exists in the given path.
This doesn't work with folders!
Finds and returns a table containing all files and folders in the given path.
Returns the relative path of the given file/folder.
Checks if the give folder exists in the given path.
Opens the given file from the given game path.
Returns the full path of the given file/folder relative to the given game path.
filesystem.RemoveAllSearchPaths()
Removes all searchpaths.
Removes the given folder from the given gamepath.
filesystem.RemoveSearchPaths( string gamePath )
Removes all searchpaths of the given game path.
Renames the given file/folder to the new name.
Returns the size of the given file.
Returns the time when the given file was last modified in unix time.
Returns the time when the given file was last accessed in unix time.
Returns the time when the given file was created in unix time.