love.filesystem.remove

Removes a file or empty directory.

Function

Synopsis

ok = love.filesystem.remove( name )

Arguments

string name
The file or directory to remove.

Returns

boolean ok
True if the file/directory was removed, false otherwise.

Notes

The directory must be empty before removal or else it will fail. Simply remove all files and folders in the directory beforehand.

See Also


Other Languages