Server IP : 85.214.239.14 / Your IP : 3.147.205.160 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/task/2/root/usr/lib/node_modules/npm/node_modules/glob/dist/commonjs/ |
Upload File : |
/// <reference types="node" /> import { GLOBSTAR } from 'minimatch'; export type MMPattern = string | RegExp | typeof GLOBSTAR; export type PatternList = [p: MMPattern, ...rest: MMPattern[]]; export type UNCPatternList = [ p0: '', p1: '', p2: string, p3: string, ...rest: MMPattern[] ]; export type DrivePatternList = [p0: string, ...rest: MMPattern[]]; export type AbsolutePatternList = [p0: '', ...rest: MMPattern[]]; export type GlobList = [p: string, ...rest: string[]]; /** * An immutable-ish view on an array of glob parts and their parsed * results */ export declare class Pattern { #private; readonly length: number; constructor(patternList: MMPattern[], globList: string[], index: number, platform: NodeJS.Platform); /** * The first entry in the parsed list of patterns */ pattern(): MMPattern; /** * true of if pattern() returns a string */ isString(): boolean; /** * true of if pattern() returns GLOBSTAR */ isGlobstar(): boolean; /** * true if pattern() returns a regexp */ isRegExp(): boolean; /** * The /-joined set of glob parts that make up this pattern */ globString(): string; /** * true if there are more pattern parts after this one */ hasMore(): boolean; /** * The rest of the pattern after this part, or null if this is the end */ rest(): Pattern | null; /** * true if the pattern represents a //unc/path/ on windows */ isUNC(): boolean; /** * True if the pattern starts with a drive letter on Windows */ isDrive(): boolean; /** * True if the pattern is rooted on an absolute path */ isAbsolute(): boolean; /** * consume the root of the pattern, and return it */ root(): string; /** * Check to see if the current globstar pattern is allowed to follow * a symbolic link. */ checkFollowGlobstar(): boolean; /** * Mark that the current globstar pattern is following a symbolic link */ markFollowGlobstar(): boolean; } //# sourceMappingURL=pattern.d.ts.map