Properties
Optional
mkdir
mkdir?: ((path: string, opts: MakeDirectoryOptions & {
recursive?: boolean;
}, callback: ((err: null | ErrnoException, made?: string) => any)) => any)
Type declaration
-
- (path: string, opts: MakeDirectoryOptions & {
recursive?: boolean;
}, callback: ((err: null | ErrnoException, made?: string) => any)): any
-
Parameters
-
path: string
-
opts: MakeDirectoryOptions & {
recursive?: boolean;
}
-
callback: ((err: null | ErrnoException, made?: string) => any)
-
- (err: null | ErrnoException, made?: string): any
-
Parameters
-
err: null | ErrnoException
-
Optional
made: string
Returns any
Returns any
Optional
mkdirSync
mkdirSync?: ((path: string, opts: MakeDirectoryOptions & {
recursive?: boolean;
}) => undefined | string)
Type declaration
-
- (path: string, opts: MakeDirectoryOptions & {
recursive?: boolean;
}): undefined | string
-
Parameters
-
path: string
-
opts: MakeDirectoryOptions & {
recursive?: boolean;
}
Returns undefined | string
Optional
stat
stat?: ((path: string, callback: ((err: null | ErrnoException, stats: Stats) => any)) => any)
Type declaration
-
- (path: string, callback: ((err: null | ErrnoException, stats: Stats) => any)): any
-
Parameters
-
path: string
-
callback: ((err: null | ErrnoException, stats: Stats) => any)
-
- (err: null | ErrnoException, stats: Stats): any
-
Parameters
-
err: null | ErrnoException
-
stats: Stats
Returns any
Returns any
Optional
statSync
statSync?: ((path: string) => Stats)
Type declaration
-
- (path: string): Stats
-
Returns Stats