love.filesystem.createDirectory

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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.filesystem.createDirectory