mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
411 B
TypeScript
17 lines
411 B
TypeScript
import { Repository } from './repository';
|
|
import { CloneOptions } from './clone-options';
|
|
|
|
export namespace Clone {
|
|
enum LOCAL {
|
|
AUTO = 0,
|
|
LOCAL = 1,
|
|
NO_LOCAL = 2,
|
|
NO_LINKS = 3
|
|
}
|
|
}
|
|
|
|
export class Clone {
|
|
static clone(url: string, local_path: string, options?: CloneOptions): Promise<Repository>;
|
|
static initOptions(opts: CloneOptions, version: number): number;
|
|
}
|