mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Added OdbExpandId
This commit is contained in:
1
types/nodegit/index.d.ts
vendored
1
types/nodegit/index.d.ts
vendored
@@ -58,6 +58,7 @@ export { MergeOptions } from './merge-options';
|
||||
export { Merge } from './merge';
|
||||
export { Note } from './note';
|
||||
export { Object } from './object';
|
||||
export { OdbExpandId } from './odb-expand-id';
|
||||
export { OdbObject } from './odb-object';
|
||||
export { Odb } from './odb';
|
||||
export { Oidarray } from './oid-array';
|
||||
|
||||
7
types/nodegit/odb-expand-id.d.ts
vendored
Normal file
7
types/nodegit/odb-expand-id.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Oid } from './oid';
|
||||
|
||||
export class OdbExpandId {
|
||||
id: Oid
|
||||
length: number
|
||||
type: number
|
||||
}
|
||||
3
types/nodegit/odb.d.ts
vendored
3
types/nodegit/odb.d.ts
vendored
@@ -1,5 +1,6 @@
|
||||
import { Oid } from './oid';
|
||||
import { OdbObject } from './odb-object';
|
||||
import { OdbExpandId } from './odb-expand-id';
|
||||
|
||||
export namespace Odb {
|
||||
const enum STREAM {
|
||||
@@ -16,5 +17,5 @@ export class Odb {
|
||||
free(): void;
|
||||
read(id: Oid): Promise<OdbObject>;
|
||||
write(data: Buffer, len: number, type: number): Promise<Oid>;
|
||||
expandIds(ids, count: number): number;
|
||||
expandIds(ids: OdbExpandId, count: number): number;
|
||||
}
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
"nodegit-tests.ts",
|
||||
"note.d.ts",
|
||||
"object.d.ts",
|
||||
"odb-expand-id.d.ts",
|
||||
"odb-object.d.ts",
|
||||
"odb.d.ts",
|
||||
"oid-array.d.ts",
|
||||
|
||||
Reference in New Issue
Block a user