DefinitelyTyped/types/nodegit/fetch.d.ts

14 lines
299 B
TypeScript

import { FetchOptions } from './fetch-options';
export namespace Fetch {
const enum PRUNE {
GIT_FETCH_PRUNE_UNSPECIFIED = 0,
GIT_FETCH_PRUNE = 1,
GIT_FETCH_NO_PRUNE = 2
}
}
export class Fetch {
static initOptions(opts: FetchOptions, version: number): number;
}