UNPKG

399 BTypeScriptView Raw
1import { CloneOptions } from "./clone-options";
2import { Repository } from "./repository";
3
4export 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 */
16export function Clone(url: string, localPath: string, options?: CloneOptions): Promise<Repository>;