Skip to content

Function: mkdir() ​

ts
function mkdir(
   dir, 
   attrs?, 
   callback?
): Promise<void> | undefined;

Creates a remote directory and its parents with the shared client.

Parameters ​

ParameterType
dirstring
attrs?| Scp2Callback | { mode?: number; }
callback?Scp2Callback

Returns ​

Promise<void> | undefined

Released under the MIT License.