mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-01-31 19:38:27 +07:00
* Initial plan * Run npm ci --ignore-scripts to update dependencies Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com> * Convert CommonJS to ESM (#255) * Initial plan * Convert CommonJS imports to ESM Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com> * Use node: protocol prefix for built-in modules Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
16 lines
599 B
TypeScript
16 lines
599 B
TypeScript
import { MatchKind } from './internal-match-kind.js';
|
|
import { Pattern } from './internal-pattern.js';
|
|
/**
|
|
* Given an array of patterns, returns an array of paths to search.
|
|
* Duplicates and paths under other included paths are filtered out.
|
|
*/
|
|
export declare function getSearchPaths(patterns: Pattern[]): string[];
|
|
/**
|
|
* Matches the patterns against the path
|
|
*/
|
|
export declare function match(patterns: Pattern[], itemPath: string): MatchKind;
|
|
/**
|
|
* Checks whether to descend further into the directory
|
|
*/
|
|
export declare function partialMatch(patterns: Pattern[], itemPath: string): boolean;
|