lovr.filesystem.createDirectory

Creates a directory in the save directory. Any parent directories that don't exist will also be created.

success = lovr.filesystem.createDirectory(path)

Arguments

NameTypeDescription
pathstring The directory to create, recursively.

Returns

NameTypeDescription
successboolean Whether the directory was created.

See also