Difference between revisions of "love.filesystem.mkdir"

(it's mkdir -p, who knew?)
(Added oldin)
 
(One intermediate revision by one other user 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.
 
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 ===

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