1 | import { CloneOptions } from "./clone-options";
|
2 | import { Repository } from "./repository";
|
3 |
|
4 | export namespace Clone {
|
5 | const enum LOCAL {
|
6 | AUTO = 0,
|
7 | LOCAL = 1,
|
8 | NO_LOCAL = 2,
|
9 | NO_LINKS = 3,
|
10 | }
|
11 | }
|
12 |
|
13 | /**
|
14 | * Patch repository cloning to automatically coerce objects.
|
15 | */
|
16 | export function Clone(url: string, localPath: string, options?: CloneOptions): Promise<Repository>;
|