Difference between revisions of "love.filesystem.mkdir"
(it's mkdir -p, who knew?) |
|||
Line 1: | Line 1: | ||
− | + | 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. | ||
== 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, note that it doesn't error if it already exists.
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info