Difference between revisions of "love.filesystem.mkdir"

(Added oldin)
 
(5 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.
  
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 14: Line 16:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Creates a directory.}}
 
{{#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