1 | import { CleanSummary } from '../../../typings';
|
2 | import { StringTask } from '../types';
|
3 | export declare const CONFIG_ERROR_INTERACTIVE_MODE = "Git clean interactive mode is not supported";
|
4 | export declare const CONFIG_ERROR_MODE_REQUIRED = "Git clean mode parameter (\"n\" or \"f\") is required";
|
5 | export declare const CONFIG_ERROR_UNKNOWN_OPTION = "Git clean unknown option found in: ";
|
6 |
|
7 |
|
8 |
|
9 | export declare enum CleanOptions {
|
10 | DRY_RUN = "n",
|
11 | FORCE = "f",
|
12 | IGNORED_INCLUDED = "x",
|
13 | IGNORED_ONLY = "X",
|
14 | EXCLUDING = "e",
|
15 | QUIET = "q",
|
16 | RECURSIVE = "d"
|
17 | }
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare type CleanMode = CleanOptions.FORCE | CleanOptions.DRY_RUN;
|
23 | export declare function cleanWithOptionsTask(mode: CleanMode | string, customArgs: string[]): import("./task").EmptyTask | StringTask<CleanSummary>;
|
24 | export declare function cleanTask(mode: CleanMode, customArgs: string[]): StringTask<CleanSummary>;
|
25 | export declare function isCleanOptionsArray(input: string[]): input is CleanOptions[];
|