mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-03 22:29:31 +08:00
10 lines
360 B
Text
10 lines
360 B
Text
/**
|
|
* @fileoverview Utility to convert gitignore patterns to minimatch.
|
|
* @author Nicholas C. Zakas
|
|
*/
|
|
/**
|
|
* Converts a gitignore pattern to a minimatch pattern.
|
|
* @param {string} pattern The gitignore pattern to convert.
|
|
* @returns {string} A minimatch pattern equivalent to `pattern`.
|
|
*/
|
|
export function gitignoreToMinimatch(pattern: string): string;
|