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
readFile
- readFile(path, callback): void
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
stat
- stat(path, callback): void
Returns void