We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 928cc29 commit 633a7c4Copy full SHA for 633a7c4
src/api/api.d.ts
@@ -53,6 +53,14 @@ export interface Remote {
53
readonly isReadOnly: boolean;
54
}
55
56
+export interface Worktree {
57
+ readonly name: string;
58
+ readonly path: string;
59
+ readonly ref: string;
60
+ readonly main: boolean;
61
+ readonly detached: boolean;
62
+}
63
+
64
export { Status } from './api1';
65
66
export interface Change {
@@ -71,6 +79,7 @@ export interface RepositoryState {
71
79
readonly HEAD: Branch | undefined;
72
80
readonly remotes: Remote[];
73
81
readonly submodules: Submodule[];
82
+ readonly worktrees?: Worktree[];
74
83
readonly rebaseCommit: Commit | undefined;
75
84
76
85
readonly mergeChanges: Change[];
0 commit comments