Added Hashsig

This commit is contained in:
Dolan
2017-06-07 02:20:26 +01:00
parent f5562c51a6
commit aa3eb7c409
3 changed files with 9 additions and 0 deletions

7
types/nodegit/hash-sig.d.ts vendored Normal file
View File

@@ -0,0 +1,7 @@
export class Hashsig {
static create(buf: string, buflen: number, opts: number): Promise<Hashsig>;
static createFromFile(path: string, opts: number): Promise<Hashsig>;
compare(b: Hashsig): number;
free(): void;
}

View File

@@ -16,6 +16,7 @@ export { DiffPerfdata } from './diff-perf-data';
export { Diff } from './diff';
export { Enums } from './enums';
export { FetchOptions } from './fetch-options';
export { Hashsig } from './hash-sig';
export { Index } from './index_';
export { IndexEntry } from './index-entry';
export { Ignore } from './ignore';

View File

@@ -29,6 +29,7 @@
"diff.d.ts",
"enums.d.ts",
"fetch-options.d.ts",
"hash-sig.d.ts",
"ignore.d.ts",
"index-entry.d.ts",
"index.d.ts",