lovr.filesystem.remove

Remove a file or directory in the save directory.

success = lovr.filesystem.remove(path)

Arguments

NameTypeDescription
pathstringThe file or folder to remove..

Returns

NameTypeDescription
successbooleanWhether the path was removed.

Notes

A directory can only be removed if it is empty.

See also