Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / fast-glob / out / utils / pattern.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/fast-glob/out/utils/pattern.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/fast-glob/out/utils/pattern.d.ts
new file mode 100644 (file)
index 0000000..050d032
--- /dev/null
@@ -0,0 +1,74 @@
+import micromatch = require('micromatch');\r
+import { Pattern, PatternRe } from '../types/patterns';\r
+/**\r
+ * Return true for static pattern.\r
+ */\r
+export declare function isStaticPattern(pattern: Pattern): boolean;\r
+/**\r
+ * Return true for pattern that looks like glob.\r
+ */\r
+export declare function isDynamicPattern(pattern: Pattern): boolean;\r
+/**\r
+ * Convert a windows «path» to a unix-style «path».\r
+ */\r
+export declare function unixifyPattern(pattern: Pattern): Pattern;\r
+/**\r
+ * Returns negative pattern as positive pattern.\r
+ */\r
+export declare function convertToPositivePattern(pattern: Pattern): Pattern;\r
+/**\r
+ * Returns positive pattern as negative pattern.\r
+ */\r
+export declare function convertToNegativePattern(pattern: Pattern): Pattern;\r
+/**\r
+ * Return true if provided pattern is negative pattern.\r
+ */\r
+export declare function isNegativePattern(pattern: Pattern): boolean;\r
+/**\r
+ * Return true if provided pattern is positive pattern.\r
+ */\r
+export declare function isPositivePattern(pattern: Pattern): boolean;\r
+/**\r
+ * Extracts negative patterns from array of patterns.\r
+ */\r
+export declare function getNegativePatterns(patterns: Pattern[]): Pattern[];\r
+/**\r
+ * Extracts positive patterns from array of patterns.\r
+ */\r
+export declare function getPositivePatterns(patterns: Pattern[]): Pattern[];\r
+/**\r
+ * Extract base directory from provided pattern.\r
+ */\r
+export declare function getBaseDirectory(pattern: Pattern): string;\r
+/**\r
+ * Return true if provided pattern has globstar.\r
+ */\r
+export declare function hasGlobStar(pattern: Pattern): boolean;\r
+/**\r
+ * Return true if provided pattern ends with slash and globstar.\r
+ */\r
+export declare function endsWithSlashGlobStar(pattern: Pattern): boolean;\r
+/**\r
+ * Returns «true» when pattern ends with a slash and globstar or the last partial of the pattern is static pattern.\r
+ */\r
+export declare function isAffectDepthOfReadingPattern(pattern: Pattern): boolean;\r
+/**\r
+ * Return naive depth of provided pattern without depth of the base directory.\r
+ */\r
+export declare function getNaiveDepth(pattern: Pattern): number;\r
+/**\r
+ * Return max naive depth of provided patterns without depth of the base directory.\r
+ */\r
+export declare function getMaxNaivePatternsDepth(patterns: Pattern[]): number;\r
+/**\r
+ * Make RegExp for provided pattern.\r
+ */\r
+export declare function makeRe(pattern: Pattern, options: micromatch.Options): PatternRe;\r
+/**\r
+ * Convert patterns to regexps.\r
+ */\r
+export declare function convertPatternsToRe(patterns: Pattern[], options: micromatch.Options): PatternRe[];\r
+/**\r
+ * Returns true if the entry match any of the given RegExp's.\r
+ */\r
+export declare function matchAny(entry: string, patternsRe: PatternRe[]): boolean;\r