Difference between revisions of "love.filesystem.remove"

(clarification: "love.filesystem.remove" remove only EMPTY directories, editorial: unnecessary brackets)
Line 1: Line 1:
Removes a file (or directory).
+
Removes a file or empty directory.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 13:42, 10 August 2013

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.

See Also


Other Languages