Added Graph

This commit is contained in:
Dolan
2017-06-07 02:31:43 +01:00
parent df90245f99
commit a4d567c6bc
3 changed files with 9 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { Repository } from './repository';
import { Oid } from './oid';
export class Graph {
static aheadBehind(repo: Repository, local: Oid, upstream: Oid): Promise<number>;
static descendantOf(repo: Repository, commit: Oid, ancestor: Oid): Promise<number>;
}
+1
View File
@@ -20,6 +20,7 @@ export { FetchOptions } from './fetch-options';
export { Fetch } from './fetch';
export { Filter } from './filter';
export { Giterr } from './git-err';
export { Graph } from './graph';
export { Hashsig } from './hash-sig';
export { Index } from './index_';
export { IndexEntry } from './index-entry';
+1
View File
@@ -33,6 +33,7 @@
"fetch.d.ts",
"filter.d.ts",
"git-err.d.ts",
"graph.d.ts",
"hash-sig.d.ts",
"ignore.d.ts",
"index-entry.d.ts",