This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/fast-glob/out/adapters/fs-stream.d.ts

21 lines
723 B
TypeScript
Raw Permalink Normal View History

2019-08-11 18:48:02 +00:00
/// <reference types="node" />
import * as fs from 'fs';
import FileSystem from './fs';
import { FilterFunction } from '@mrmlnc/readdir-enhanced';
import { Entry } from '../types/entries';
import { Pattern } from '../types/patterns';
export default class FileSystemStream extends FileSystem<NodeJS.ReadableStream> {
/**
* Use stream API to read entries for Task.
*/
read(patterns: string[], filter: FilterFunction): NodeJS.ReadableStream;
/**
* Return entry for the provided path.
*/
getEntry(filepath: string, pattern: Pattern): Promise<Entry | null>;
/**
* Return fs.Stats for the provided path.
*/
getStat(filepath: string): Promise<fs.Stats>;
}