finki-main
main
|
Last change
on this file since 33517cc was 33517cc, checked in by Klimentina Efremova <klimentina08642@…>, 11 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
|
| Rev | Line | |
|---|
| [33517cc] | 1 | import type { MinimatchOptions } from './index.js';
|
|---|
| [81bc7da] | 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 | */
|
|---|
| 14 | export 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.