Options
All
  • Public
  • Public/Protected
  • All
Menu

Project expo-fs

Index

Variables

Variables

default

default: { promises: { lstat: (filepath: string, _options?: {}) => Promise; mkdir: (filepath: string, _options?: Mode) => Promise; readFile: { readFile: any }; readdir: (filepath: string, _options?: {}) => Promise; readlink: (_filepath: string, _options?: {}) => never; rename: (oldFilepath: string, newFilepath: string) => Promise; rmdir: (filepath: string) => Promise; stat: (filepath: string, _options?: {}) => Promise; symlink: (_target: string, _filepath: string) => never; unlink: (filepath: string, _options?: {}) => Promise; writeFile: (filepath: string, data: FileContents, options?: Encoding & Mode) => Promise } }

Type declaration

  • promises: { lstat: (filepath: string, _options?: {}) => Promise; mkdir: (filepath: string, _options?: Mode) => Promise; readFile: { readFile: any }; readdir: (filepath: string, _options?: {}) => Promise; readlink: (_filepath: string, _options?: {}) => never; rename: (oldFilepath: string, newFilepath: string) => Promise; rmdir: (filepath: string) => Promise; stat: (filepath: string, _options?: {}) => Promise; symlink: (_target: string, _filepath: string) => never; unlink: (filepath: string, _options?: {}) => Promise; writeFile: (filepath: string, data: FileContents, options?: Encoding & Mode) => Promise }
    • lstat: (filepath: string, _options?: {}) => Promise
        • (filepath: string, _options?: {}): Promise
        • Parameters

          • filepath: string
          • Optional _options: {}

          Returns Promise

    • mkdir: (filepath: string, _options?: Mode) => Promise
        • (filepath: string, _options?: Mode): Promise
        • Parameters

          • filepath: string
          • Optional _options: Mode

          Returns Promise

    • readFile: { readFile: any }
      • readFile: function
        • readFile(filepath: string, options: Required<Encoding>): Promise<string>
        • readFile(filepath: string): Promise<Uint8Array>
        • Parameters

          • filepath: string
          • options: Required<Encoding>

          Returns Promise<string>

        • Parameters

          • filepath: string

          Returns Promise<Uint8Array>

    • readdir: (filepath: string, _options?: {}) => Promise
        • (filepath: string, _options?: {}): Promise
        • Parameters

          • filepath: string
          • Optional _options: {}

          Returns Promise

    • readlink: (_filepath: string, _options?: {}) => never
        • (_filepath: string, _options?: {}): never
        • Parameters

          • _filepath: string
          • Optional _options: {}

          Returns never

    • rename: (oldFilepath: string, newFilepath: string) => Promise
        • (oldFilepath: string, newFilepath: string): Promise
        • Parameters

          • oldFilepath: string
          • newFilepath: string

          Returns Promise

    • rmdir: (filepath: string) => Promise
        • (filepath: string): Promise
        • Parameters

          • filepath: string

          Returns Promise

    • stat: (filepath: string, _options?: {}) => Promise
        • (filepath: string, _options?: {}): Promise
        • Parameters

          • filepath: string
          • Optional _options: {}

          Returns Promise

    • symlink: (_target: string, _filepath: string) => never
        • (_target: string, _filepath: string): never
        • Parameters

          • _target: string
          • _filepath: string

          Returns never

    • unlink: (filepath: string, _options?: {}) => Promise
        • (filepath: string, _options?: {}): Promise
        • Parameters

          • filepath: string
          • Optional _options: {}

          Returns Promise

    • writeFile: (filepath: string, data: FileContents, options?: Encoding & Mode) => Promise
        • (filepath: string, data: FileContents, options?: Encoding & Mode): Promise
        • Parameters

          • filepath: string
          • data: FileContents
          • Optional options: Encoding & Mode

          Returns Promise

Generated using TypeDoc