Interface TwingFilesystemLoaderFilesystem

interface TwingFilesystemLoaderFilesystem {
    readFile(path: string, callback: ((error: null | Error, data: null | Buffer) => void)): void;
    stat(path: string, callback: ((error: null | Error, stats: null | TwingFilesystemLoaderFilesystemStats) => void)): void;
}

Methods

Methods

  • Parameters

    • path: string
    • callback: ((error: null | Error, data: null | Buffer) => void)
        • (error, data): void
        • Parameters

          • error: null | Error
          • data: null | Buffer

          Returns void

    Returns void