source: node_modules/minimatch/dist/commonjs/escape.d.ts

main
Last change on this file was 33517cc, checked in by Klimentina Efremova <klimentina08642@…>, 10 days ago

Turned database from SQLite to PostgressSQL, updated database changes from Phase 1 and 2

  • Property mode set to 100644
File size: 781 bytes
Line 
1import type { MinimatchOptions } from './index.js';
2/**
3 * Escape all magic characters in a glob pattern.
4 *
5 * If the {@link MinimatchOptions.windowsPathsNoEscape}
6 * option is used, then characters are escaped by wrapping in `[]`, because
7 * a magic character wrapped in a character class can only be satisfied by
8 * that exact character. In this mode, `\` is _not_ escaped, because it is
9 * not interpreted as a magic character, but instead as a path separator.
10 *
11 * If the {@link MinimatchOptions.magicalBraces} option is used,
12 * then braces (`{` and `}`) will be escaped.
13 */
14export declare const escape: (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "magicalBraces">) => string;
15//# sourceMappingURL=escape.d.ts.map
Note: See TracBrowser for help on using the repository browser.