mkdir
host callCapy
function mkdir(path : string) bool
Description
mkdir() creates one directory at path.
The parent directory must exist. This function does not create parent directories.
Parameters
path : the directory path
Return Values
true when the API creates the directory
Example
Capy
var path := file_temp("/tmp/doc-mkdir-")
file_unlink(path)
print(mkdir(path), "\n")
dir_remove(path, true)