
[lua scripts api] created manual from embedded library documentation [lua api] created stub to contain lua api manual
31 lines
444 B
Markdown
31 lines
444 B
Markdown
---
|
|
title: mkdir
|
|
id: mkdir
|
|
weight: 150
|
|
draft: false
|
|
author: "people"
|
|
---
|
|
|
|
## 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
|