view doc/src/js/module/Irccd.Directory/Irccd.Directory.mkdir.md @ 817:ebe561276c33

doc: start reworking, continue #752 @8h
author David Demelier <markand@malikania.fr>
date Mon, 19 Nov 2018 07:04:42 +0100
parents doc/src/api/module/Irccd.Directory/Irccd.Directory.mkdir.md@ebdc614db066
children
line wrap: on
line source

# Function Irccd.Directory.mkdir

Create a directory specified by path. It will create needed subdirectories just
like you have invoked `mkdir -p`.

# Synopsis

```javascript
Irccd.Directory.mkdir(path, mode = 0700)
```

# Arguments

- path: the path to the directory,
- mode: the mode, not available on all platforms.

# Throws

Any exception on error.