Difference between revisions of "love.filesystem.mkdir"

(Added oldin)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Creates a directory.
+
{{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 ===

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