.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / fast-glob / out / adapters / fs-sync.d.ts
1 /// <reference types="node" />\r
2 import * as fs from 'fs';\r
3 import FileSystem from './fs';\r
4 import { FilterFunction } from '@mrmlnc/readdir-enhanced';\r
5 import { Entry } from '../types/entries';\r
6 import { Pattern } from '../types/patterns';\r
7 export default class FileSystemSync extends FileSystem<Entry[]> {\r
8     /**\r
9      * Use sync API to read entries for Task.\r
10      */\r
11     read(patterns: string[], filter: FilterFunction): Entry[];\r
12     /**\r
13      * Return entry for the provided path.\r
14      */\r
15     getEntry(filepath: string, pattern: Pattern): Entry | null;\r
16     /**\r
17      * Return fs.Stats for the provided path.\r
18      */\r
19     getStat(filepath: string): fs.Stats;\r
20 }\r