lovr.filesystem.remove
Remove a file or directory in the save directory.
success = lovr.filesystem.remove(path)
Arguments
Name | Type | Description |
path | string | The file or directory to remove. |
Returns
Name | Type | Description |
success | boolean | Whether the path was removed. |
Notes
A directory can only be removed if it is empty.
See also
lovr.filesystem