source: node_modules/minimatch/dist/commonjs/unescape.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: 956 bytes
Line 
1import type { MinimatchOptions } from './index.js';
2/**
3 * Un-escape a string that has been escaped with {@link escape}.
4 *
5 * If the {@link MinimatchOptions.windowsPathsNoEscape} option is used, then
6 * square-bracket escapes are removed, but not backslash escapes.
7 *
8 * For example, it will turn the string `'[*]'` into `*`, but it will not
9 * turn `'\\*'` into `'*'`, because `\` is a path separator in
10 * `windowsPathsNoEscape` mode.
11 *
12 * When `windowsPathsNoEscape` is not set, then both square-bracket escapes and
13 * backslash escapes are removed.
14 *
15 * Slashes (and backslashes in `windowsPathsNoEscape` mode) cannot be escaped
16 * or unescaped.
17 *
18 * When `magicalBraces` is not set, escapes of braces (`{` and `}`) will not be
19 * unescaped.
20 */
21export declare const unescape: (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "magicalBraces">) => string;
22//# sourceMappingURL=unescape.d.ts.map
Note: See TracBrowser for help on using the repository browser.