Difference between revisions of "love.filesystem.mkdir"

(it's mkdir -p, who knew?)
m
Line 1: Line 1:
 
Recursively creates a directory.
 
Recursively creates a directory.
  
When called with "a/b" it creates both "a" and "a/b", if they don't exist already, note that it doesn't error if it already exists.
+
When called with "a/b" it creates both "a" and "a/b", if they don't exist already.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 21:26, 26 May 2013

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