mkdir - deekayhd/lua-scripts GitHub Wiki

MKDIR

NAME

mkdir

SYNOPSIS

create the directory(ies) if they do not already exist

USAGE

local df = require "lib/dtutils.file"
df.mkdir(path)

path - string - a directory path

DESCRIPTION

mkdir creates directories if they do not already exist. It creates parent directories if needed.

RETURN VALUE

path - string - a directory path