Files
huishou/node_modules/@simple-git/args-pathspec/dist/src/pathspec.d.ts
T
2026-07-27 13:37:48 +08:00

9 lines
389 B
TypeScript

/**
* Wraps one or more file paths in an object that `parseCli` recognises as
* explicit pathspecs, routing them to `ParsedCLI.paths` regardless of whether
* a `--` separator token is present.
*/
export declare function pathspec(...paths: string[]): string;
export declare function isPathSpec(value: unknown): value is string;
export declare function toPaths(value: string): string[];