Difference between revisions of "love.filesystem.remove"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Removes a file (or directory).
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Removes a file (or directory).}}

Revision as of 16:17, 14 February 2010

Removes a file (or 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