nodegit: marked Index.getByPath() stage parameter as optional (#31503)

This commit is contained in:
Andres Kalle 2018-12-19 20:14:57 +02:00 committed by Nathan Shively-Sanders
parent 2c6e021f06
commit ce45bccbfd

View File

@ -37,7 +37,7 @@ export class Index {
conflictRemove(path: string): number;
entryCount(): number;
getByIndex(n: number): IndexEntry;
getByPath(path: string, stage: number): IndexEntry;
getByPath(path: string, stage?: number): IndexEntry;
hasConflicts(): boolean;
owner(): Repository;
path(): string;