mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-02 07:19:30 +08:00
16 lines
660 B
Text
16 lines
660 B
Text
import { MicromatchOptions, EntryFilterFunction, Pattern } from '../../types';
|
|
import Settings from '../../settings';
|
|
export default class DeepFilter {
|
|
private readonly _settings;
|
|
private readonly _micromatchOptions;
|
|
constructor(_settings: Settings, _micromatchOptions: MicromatchOptions);
|
|
getFilter(basePath: string, positive: Pattern[], negative: Pattern[]): EntryFilterFunction;
|
|
private _getMatcher;
|
|
private _getNegativePatternsRe;
|
|
private _filter;
|
|
private _isSkippedByDeep;
|
|
private _getEntryLevel;
|
|
private _isSkippedSymbolicLink;
|
|
private _isSkippedByPositivePatterns;
|
|
private _isSkippedByNegativePatterns;
|
|
}
|