Skip to content

Commit 103da71

Browse files
committed
Update git API
1 parent 80e46a2 commit 103da71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/@types/git.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ export interface Repository {
287287
applyStash(index?: number): Promise<void>;
288288
popStash(index?: number): Promise<void>;
289289
dropStash(index?: number): Promise<void>;
290+
291+
createWorktree(options?: { path?: string; commitish?: string; branch?: string }): Promise<string>;
292+
deleteWorktree(path: string, options?: { force?: boolean }): Promise<void>;
290293
}
291294

292295
export interface RemoteSource {

0 commit comments

Comments
 (0)