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
pathstringThe directory to create, recursively.

Returns

NameTypeDescription
successbooleanWhether the directory was created.

See also