Server IP : 162.213.251.212 / Your IP : 18.118.254.189 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/allssztx/./www/easybuyer/node_modules/fast-glob/out/adapters/ |
Upload File : |
/// <reference types="node" /> import * as fs from 'fs'; import { FilterFunction } from '@mrmlnc/readdir-enhanced'; import { IOptions } from '../managers/options'; import { Entry } from '../types/entries'; import { Pattern } from '../types/patterns'; export default abstract class FileSystem<T> { private readonly options; constructor(options: IOptions); /** * The main logic of reading the entries that must be implemented by each adapter. */ abstract read(filepaths: string[], filter: FilterFunction): T; /** * Return full path to entry. */ getFullEntryPath(filepath: string): string; /** * Return an implementation of the Entry interface. */ makeEntry(stat: fs.Stats, pattern: Pattern): Entry; }