Sha256: 2f87ea988d84d1c617afdeba9d151435473ab24cd5fc456510c8db26d8bd1581
Contents?: true
Size: 855 Bytes
Versions: 54
Compression:
Stored size: 855 Bytes
Contents
import type { FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod } from './adapters/fs'; import * as async from './providers/async'; import Settings, { Options } from './settings'; import type { Dirent, Entry } from './types'; declare type AsyncCallback = async.AsyncCallback; declare function scandir(path: string, callback: AsyncCallback): void; declare function scandir(path: string, optionsOrSettings: Options | Settings, callback: AsyncCallback): void; declare namespace scandir { function __promisify__(path: string, optionsOrSettings?: Options | Settings): Promise<Entry[]>; } declare function scandirSync(path: string, optionsOrSettings?: Options | Settings): Entry[]; export { scandir, scandirSync, Settings, AsyncCallback, Dirent, Entry, FileSystemAdapter, ReaddirAsynchronousMethod, ReaddirSynchronousMethod, Options };
Version data entries
54 entries across 54 versions & 4 rubygems