mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Added Fetch
This commit is contained in:
13
types/nodegit/fetch.d.ts
vendored
Normal file
13
types/nodegit/fetch.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { FetchOptions } from './fetch-options';
|
||||
|
||||
export namespace Fetch {
|
||||
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;
|
||||
}
|
||||
1
types/nodegit/index.d.ts
vendored
1
types/nodegit/index.d.ts
vendored
@@ -17,6 +17,7 @@ export { Diff } from './diff';
|
||||
export { Enums } from './enums';
|
||||
export { Error } from './error';
|
||||
export { FetchOptions } from './fetch-options';
|
||||
export { Fetch } from './fetch';
|
||||
export { Filter } from './filter';
|
||||
export { Giterr } from './git-err';
|
||||
export { Hashsig } from './hash-sig';
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
"enums.d.ts",
|
||||
"error.d.ts",
|
||||
"fetch-options.d.ts",
|
||||
"fetch.d.ts",
|
||||
"filter.d.ts",
|
||||
"git-err.d.ts",
|
||||
"hash-sig.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user