lovr.filesystem.getRealDirectory
EditGet the absolute path of the mounted archive containing a path in the virtual filesystem. This can be used to determine if a file is in the game's source directory or the save directory.
realpath = lovr.filesystem.getRealDirectory(path)
Arguments
Name | Type | Description |
path | string | The path to check. |
Returns
Name | Type | Description |
realpath | string |
The absolute path of the mounted archive containing path .
|