Resolve attachments via glob

This commit is contained in:
Simon R authored and Dawid Dziurla committed 2021-07-13 18:20:02 +02:00
1 parent 44663f34dd
commit b9bedb34a4
96 files changed
+4707 -1779

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { MatchKind } from './internal-match-kind';
import { Pattern } from './internal-pattern';
/**
* Given an array of patterns, returns an array of paths to search.
* Duplicates and paths under other included paths are filtered out.
*/
export declare function getSearchPaths(patterns: Pattern[]): string[];
/**
* Matches the patterns against the path
*/
export declare function match(patterns: Pattern[], itemPath: string): MatchKind;
/**
* Checks whether to descend further into the directory
*/
export declare function partialMatch(patterns: Pattern[], itemPath: string): boolean;