Interface FsProvider

Hierarchy

  • FsProvider

Properties

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

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

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

statSync?: ((path: string) => Stats)

Type declaration

    • (path: string): Stats
    • Parameters

      • path: string

      Returns Stats

Generated using TypeDoc