Function: mkdir()
ts
function mkdir(
dir,
attrs?,
callback?
): Promise<void> | undefined;Creates a remote directory and its parents with the shared client.
Parameters
| Parameter | Type |
|---|---|
dir | string |
attrs? | | Scp2Callback | { mode?: number; } |
callback? | Scp2Callback |
Returns
Promise<void> | undefined