Difference between revisions of "love.filesystem.mkdir"

m (1 revision: Imported docs from potato.)
(Added oldin)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[love.filesystem.createDirectory]]}}
 +
Recursively creates a directory.
  
 
+
When called with "a/b" it creates both "a" and "a/b", if they don't exist already.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 15:
 
* [[parent::love.filesystem]]
 
* [[parent::love.filesystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Creates a directory.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|love.filesystem.mkdir}}

Latest revision as of 00:33, 23 October 2013

Removed in LÖVE 0.9.0
It has been renamed to love.filesystem.createDirectory.

Recursively creates a directory.

When called with "a/b" it creates both "a" and "a/b", if they don't exist already.

Function

Synopsis

ok = love.filesystem.mkdir( name )

Arguments

string name
The directory to create.

Returns

boolean ok
True if the directory was created, false if not.

See Also


Other Languages