diff options
Diffstat (limited to 'node_modules/simple-git/src/lib/tasks/clone.d.ts')
-rw-r--r-- | node_modules/simple-git/src/lib/tasks/clone.d.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/simple-git/src/lib/tasks/clone.d.ts b/node_modules/simple-git/src/lib/tasks/clone.d.ts new file mode 100644 index 0000000..2662ece --- /dev/null +++ b/node_modules/simple-git/src/lib/tasks/clone.d.ts @@ -0,0 +1,4 @@ +import { OptionFlags, Options, StringTask } from '../types'; +export declare type CloneOptions = Options & OptionFlags<'--bare' | '--dissociate' | '--mirror' | '--no-checkout' | '--no-remote-submodules' | '--no-shallow-submodules' | '--no-single-branch' | '--no-tags' | '--remote-submodules' | '--single-branch' | '--shallow-submodules' | '--verbose'> & OptionFlags<'--depth' | '-j' | '--jobs', number> & OptionFlags<'--branch' | '--origin' | '--recurse-submodules' | '--separate-git-dir' | '--shallow-exclude' | '--shallow-since' | '--template', string>; +export declare function cloneTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask<string>; +export declare function cloneMirrorTask(repo: string | undefined, directory: string | undefined, customArgs: string[]): StringTask<string>; |