Difference between revisions of "love.filesystem.createDirectory"
(Created page) |
m |
||
Line 6: | Line 6: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | success = love.filesystem.createDirectory( name ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
{{param|string|name|The directory to create.}} | {{param|string|name|The directory to create.}} | ||
=== Returns === | === Returns === | ||
− | {{param|boolean| | + | {{param|boolean|success|True if the directory was created, false if not.}} |
== See Also == | == See Also == | ||
* [[parent::love.filesystem]] | * [[parent::love.filesystem]] |
Latest revision as of 10:04, 26 January 2016
Available since LÖVE 0.9.0 |
It has been renamed from love.filesystem.mkdir. |
Recursively creates a directory.
When called with "a/b" it creates both "a" and "a/b", if they don't exist already.
Function
Synopsis
success = love.filesystem.createDirectory( name )
Arguments
string name
- The directory to create.
Returns
boolean success
- 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