@gitkraken/core-gitlens 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/CHANGELOG.md +78 -1
  2. package/dist/git/cache.d.ts +84 -29
  3. package/dist/git/cache.js +188 -54
  4. package/dist/git/cache.js.map +1 -1
  5. package/dist/git/features.d.ts +1 -1
  6. package/dist/git/features.js +5 -0
  7. package/dist/git/features.js.map +1 -1
  8. package/dist/git/models/branch.d.ts +20 -2
  9. package/dist/git/models/branch.js +28 -6
  10. package/dist/git/models/branch.js.map +1 -1
  11. package/dist/git/models/reference.d.ts +3 -0
  12. package/dist/git/models/status.js +2 -2
  13. package/dist/git/models/worktree.d.ts +4 -1
  14. package/dist/git/models/worktree.js +4 -2
  15. package/dist/git/models/worktree.js.map +1 -1
  16. package/dist/git/parsers/diffParser.js +1 -1
  17. package/dist/git/providers/branches.d.ts +73 -8
  18. package/dist/git/providers/operations.d.ts +3 -2
  19. package/dist/git/providers/pausedOperations.d.ts +6 -0
  20. package/dist/git/providers/provider.d.ts +45 -2
  21. package/dist/git/providers/revision.d.ts +17 -3
  22. package/dist/git/providers/status.d.ts +8 -2
  23. package/dist/git/remotes/azure-devops.js +61 -53
  24. package/dist/git/remotes/azure-devops.js.map +1 -1
  25. package/dist/git/run.types.d.ts +12 -0
  26. package/dist/git/service.d.ts +8 -5
  27. package/dist/git/service.js +16 -8
  28. package/dist/git/service.js.map +1 -1
  29. package/dist/git/utils/branch.utils.d.ts +12 -2
  30. package/dist/git/utils/branch.utils.js +49 -5
  31. package/dist/git/utils/branch.utils.js.map +1 -1
  32. package/dist/git/utils/reference.utils.d.ts +1 -0
  33. package/dist/git/utils/reference.utils.js.map +1 -1
  34. package/dist/git/watching/changeEvent.d.ts +13 -2
  35. package/dist/git/watching/changeEvent.js +17 -3
  36. package/dist/git/watching/changeEvent.js.map +1 -1
  37. package/dist/git/watching/gitDirPoller.d.ts +111 -0
  38. package/dist/git/watching/gitDirPoller.js +266 -0
  39. package/dist/git/watching/gitDirPoller.js.map +1 -0
  40. package/dist/git/watching/provider.d.ts +16 -0
  41. package/dist/git/watching/watchGroup.d.ts +40 -4
  42. package/dist/git/watching/watchGroup.js +143 -17
  43. package/dist/git/watching/watchGroup.js.map +1 -1
  44. package/dist/git/watching/watchService.d.ts +70 -1
  45. package/dist/git/watching/watchService.js +158 -13
  46. package/dist/git/watching/watchService.js.map +1 -1
  47. package/dist/git/watching/watchSession.d.ts +44 -0
  48. package/dist/git/watching/watchSession.js +91 -6
  49. package/dist/git/watching/watchSession.js.map +1 -1
  50. package/dist/git/watching/watcherPatterns.d.ts +21 -0
  51. package/dist/git/watching/watcherPatterns.js +67 -1
  52. package/dist/git/watching/watcherPatterns.js.map +1 -1
  53. package/dist/git/watching/worktreeSummary.d.ts +34 -7
  54. package/dist/git/watching/worktreeSummary.js +39 -12
  55. package/dist/git/watching/worktreeSummary.js.map +1 -1
  56. package/dist/git-cli/cliGitProvider.d.ts +40 -2
  57. package/dist/git-cli/cliGitProvider.js +182 -18
  58. package/dist/git-cli/cliGitProvider.js.map +1 -1
  59. package/dist/git-cli/exec/commandClassifier.d.ts +15 -0
  60. package/dist/git-cli/exec/commandClassifier.js +48 -2
  61. package/dist/git-cli/exec/commandClassifier.js.map +1 -1
  62. package/dist/git-cli/exec/git.d.ts +20 -3
  63. package/dist/git-cli/exec/git.js +63 -19
  64. package/dist/git-cli/exec/git.js.map +1 -1
  65. package/dist/git-cli/exec/gitQueue.d.ts +2 -0
  66. package/dist/git-cli/exec/gitQueue.js +2 -1
  67. package/dist/git-cli/exec/gitQueue.js.map +1 -1
  68. package/dist/git-cli/exec/indexLock.d.ts +39 -0
  69. package/dist/git-cli/exec/indexLock.js +160 -0
  70. package/dist/git-cli/exec/indexLock.js.map +1 -0
  71. package/dist/git-cli/parsers/blameParser.js +2 -2
  72. package/dist/git-cli/parsers/refParser.js +4 -2
  73. package/dist/git-cli/parsers/refParser.js.map +1 -1
  74. package/dist/git-cli/parsers/statusParser.d.ts +6 -0
  75. package/dist/git-cli/parsers/statusParser.js +33 -3
  76. package/dist/git-cli/parsers/statusParser.js.map +1 -1
  77. package/dist/git-cli/parsers/worktreeParser.js +42 -2
  78. package/dist/git-cli/parsers/worktreeParser.js.map +1 -1
  79. package/dist/git-cli/providers/branchRemote.d.ts +14 -0
  80. package/dist/git-cli/providers/branchRemote.js +36 -0
  81. package/dist/git-cli/providers/branchRemote.js.map +1 -0
  82. package/dist/git-cli/providers/branches.d.ts +109 -10
  83. package/dist/git-cli/providers/branches.js +630 -134
  84. package/dist/git-cli/providers/branches.js.map +1 -1
  85. package/dist/git-cli/providers/commits.js +2 -2
  86. package/dist/git-cli/providers/config.d.ts +9 -5
  87. package/dist/git-cli/providers/config.js +58 -25
  88. package/dist/git-cli/providers/config.js.map +1 -1
  89. package/dist/git-cli/providers/contributors.js +1 -1
  90. package/dist/git-cli/providers/graph.js +9 -6
  91. package/dist/git-cli/providers/graph.js.map +1 -1
  92. package/dist/git-cli/providers/operations.d.ts +17 -0
  93. package/dist/git-cli/providers/operations.js +172 -111
  94. package/dist/git-cli/providers/operations.js.map +1 -1
  95. package/dist/git-cli/providers/pausedOperations.d.ts +8 -0
  96. package/dist/git-cli/providers/pausedOperations.js +59 -39
  97. package/dist/git-cli/providers/pausedOperations.js.map +1 -1
  98. package/dist/git-cli/providers/refs.js +11 -8
  99. package/dist/git-cli/providers/refs.js.map +1 -1
  100. package/dist/git-cli/providers/remotes.js +19 -10
  101. package/dist/git-cli/providers/remotes.js.map +1 -1
  102. package/dist/git-cli/providers/revision.d.ts +6 -2
  103. package/dist/git-cli/providers/revision.js +38 -12
  104. package/dist/git-cli/providers/revision.js.map +1 -1
  105. package/dist/git-cli/providers/staging.js +39 -14
  106. package/dist/git-cli/providers/staging.js.map +1 -1
  107. package/dist/git-cli/providers/stash.d.ts +2 -0
  108. package/dist/git-cli/providers/stash.js +33 -18
  109. package/dist/git-cli/providers/stash.js.map +1 -1
  110. package/dist/git-cli/providers/status.d.ts +3 -1
  111. package/dist/git-cli/providers/status.js +40 -22
  112. package/dist/git-cli/providers/status.js.map +1 -1
  113. package/dist/git-cli/providers/tags.js +6 -4
  114. package/dist/git-cli/providers/tags.js.map +1 -1
  115. package/dist/git-cli/providers/worktrees.d.ts +1 -0
  116. package/dist/git-cli/providers/worktrees.js +60 -31
  117. package/dist/git-cli/providers/worktrees.js.map +1 -1
  118. package/dist/git-cli/service.d.ts +6 -0
  119. package/dist/git-cli/service.js +5 -2
  120. package/dist/git-cli/service.js.map +1 -1
  121. package/dist/plus/git-github/providers/github/revision.d.ts +6 -2
  122. package/dist/plus/git-github/providers/github/revision.js +15 -10
  123. package/dist/plus/git-github/providers/github/revision.js.map +1 -1
  124. package/dist/plus/git-github/providers/github/status.d.ts +3 -1
  125. package/dist/plus/git-github/providers/github/status.js +2 -2
  126. package/dist/plus/git-github/providers/github/status.js.map +1 -1
  127. package/dist/plus/integrations/collectionMetadata.d.ts +13 -2
  128. package/dist/plus/integrations/collectionMetadata.js +14 -2
  129. package/dist/plus/integrations/collectionMetadata.js.map +1 -1
  130. package/dist/plus/integrations/index.d.ts +2 -2
  131. package/dist/plus/integrations/index.js.map +1 -1
  132. package/dist/plus/integrations/integrationService.d.ts +1 -0
  133. package/dist/plus/integrations/integrationService.js +1 -1
  134. package/dist/plus/integrations/integrationService.js.map +1 -1
  135. package/dist/plus/integrations/manager.d.ts +1 -0
  136. package/dist/plus/integrations/models/gitHostIntegration.d.ts +41 -5
  137. package/dist/plus/integrations/models/gitHostIntegration.js +106 -29
  138. package/dist/plus/integrations/models/gitHostIntegration.js.map +1 -1
  139. package/dist/plus/integrations/models/issueReads.d.ts +17 -4
  140. package/dist/plus/integrations/providers/apiClients.d.ts +2 -0
  141. package/dist/plus/integrations/providers/apiClients.js +7 -1
  142. package/dist/plus/integrations/providers/apiClients.js.map +1 -1
  143. package/dist/plus/integrations/providers/azure/azure.d.ts +5 -4
  144. package/dist/plus/integrations/providers/azure/azure.js +36 -76
  145. package/dist/plus/integrations/providers/azure/azure.js.map +1 -1
  146. package/dist/plus/integrations/providers/azure/azure.utils.js +20 -17
  147. package/dist/plus/integrations/providers/azure/azure.utils.js.map +1 -1
  148. package/dist/plus/integrations/providers/azure/models.d.ts +2 -2
  149. package/dist/plus/integrations/providers/azure/models.js +4 -4
  150. package/dist/plus/integrations/providers/azure/models.js.map +1 -1
  151. package/dist/plus/integrations/providers/azure/workItemStateCategories.d.ts +21 -12
  152. package/dist/plus/integrations/providers/azure/workItemStateCategories.js +74 -17
  153. package/dist/plus/integrations/providers/azure/workItemStateCategories.js.map +1 -1
  154. package/dist/plus/integrations/providers/azureDevOps.d.ts +44 -0
  155. package/dist/plus/integrations/providers/azureDevOps.js +108 -17
  156. package/dist/plus/integrations/providers/azureDevOps.js.map +1 -1
  157. package/dist/plus/integrations/providers/azureDevOpsServer.d.ts +45 -1
  158. package/dist/plus/integrations/providers/azureDevOpsServer.js +121 -6
  159. package/dist/plus/integrations/providers/azureDevOpsServer.js.map +1 -1
  160. package/dist/plus/integrations/providers/jira-server.js +18 -14
  161. package/dist/plus/integrations/providers/jira-server.js.map +1 -1
  162. package/dist/plus/integrations/providers/jira.js +18 -14
  163. package/dist/plus/integrations/providers/jira.js.map +1 -1
  164. package/dist/plus/integrations/providers/models.d.ts +1 -2
  165. package/dist/plus/integrations/providers/models.js +9 -2
  166. package/dist/plus/integrations/providers/models.js.map +1 -1
  167. package/dist/plus/integrations/providers/providersApi.d.ts +7 -17
  168. package/dist/plus/integrations/providers/providersApi.js +85 -78
  169. package/dist/plus/integrations/providers/providersApi.js.map +1 -1
  170. package/dist/plus/integrations/providers/utils/jiraIssueDrains.d.ts +22 -0
  171. package/dist/plus/integrations/providers/utils/jiraIssueDrains.js +69 -9
  172. package/dist/plus/integrations/providers/utils/jiraIssueDrains.js.map +1 -1
  173. package/dist/plus/integrations/providers/utils/providerPaging.js +8 -2
  174. package/dist/plus/integrations/providers/utils/providerPaging.js.map +1 -1
  175. package/dist/plus/integrations/reads/filters.d.ts +3 -3
  176. package/dist/plus/integrations/reads/filters.js.map +1 -1
  177. package/dist/plus/integrations/reads/issueBatch.d.ts +2 -1
  178. package/dist/plus/integrations/reads/issueBatch.js +1 -1
  179. package/dist/plus/integrations/reads/issueBatch.js.map +1 -1
  180. package/dist/plus/integrations/reads/issueTracker.js +23 -14
  181. package/dist/plus/integrations/reads/issueTracker.js.map +1 -1
  182. package/dist/plus/integrations/reads/issues.d.ts +2 -1
  183. package/dist/plus/integrations/reads/issues.js +18 -3
  184. package/dist/plus/integrations/reads/issues.js.map +1 -1
  185. package/dist/plus/integrations/reads/pullRequestBatch.js +1 -1
  186. package/dist/plus/integrations/reads/resolveRepository.js +12 -3
  187. package/dist/plus/integrations/reads/resolveRepository.js.map +1 -1
  188. package/dist/plus/integrations/reads/warnings.d.ts +11 -4
  189. package/dist/plus/integrations/reads/warnings.js +15 -5
  190. package/dist/plus/integrations/reads/warnings.js.map +1 -1
  191. package/dist/plus/integrations/results.d.ts +36 -2
  192. package/dist/plus/integrations/results.js +33 -13
  193. package/dist/plus/integrations/results.js.map +1 -1
  194. package/dist/utils/promiseCache.d.ts +10 -0
  195. package/dist/utils/promiseCache.js +17 -2
  196. package/dist/utils/promiseCache.js.map +1 -1
  197. package/docs/integrations.md +52 -20
  198. package/package.json +2 -2
@@ -15,6 +15,23 @@ export declare class BranchesGitSubProvider implements GitBranchesSubProvider {
15
15
  private readonly git;
16
16
  private readonly cache;
17
17
  private readonly provider;
18
+ /** Ahead/behind counts by `<baseSha>...<tipSha>` range, from the per-tip fallback; a pair of commits always counts the same */
19
+ private readonly aheadBehindBySha;
20
+ /**
21
+ * When each `commonPath\0branch\0key` was last stamped by this process. Bounded: a dropped entry only costs a
22
+ * read of the stored stamp, which still holds off a write under 5 minutes old
23
+ */
24
+ private readonly _branchActivityStamps;
25
+ /** One call per `commonPath\0branch` at a time, so a call held off by another's write in flight settles after it */
26
+ private readonly _branchActivityCalls;
27
+ /**
28
+ * What each `commonPath\0branch`'s reflog says it was created from, as git wrote it; `undefined` when it says
29
+ * nothing. A branch's creation never changes, so the base read, which reruns on every commit and ref move, reads
30
+ * it once
31
+ */
32
+ private readonly _branchCreatedFrom;
33
+ /** Bumped each time a key's created-from is forgotten, so a reflog read in flight across that doesn't store it */
34
+ private readonly _branchCreatedFromGenerations;
18
35
  constructor(context: GitServiceContext, git: Git, cache: Cache, provider: CliGitProviderInternal);
19
36
  getBranch(repoPath: string, name?: string, options?: {
20
37
  force?: boolean;
@@ -55,6 +72,12 @@ export declare class BranchesGitSubProvider implements GitBranchesSubProvider {
55
72
  priority?: GitCommandPriority;
56
73
  local?: boolean;
57
74
  }, cancellation?: AbortSignal): Promise<string | undefined>;
75
+ /**
76
+ * Writes the missing `refs/remotes/<remote>/HEAD` symref from the remote (`remote set-head -a`) in the background,
77
+ * never prompting for credentials; nothing runs past the cached local check when the symref exists. Rejects when
78
+ * the remote can't be read.
79
+ */
80
+ setRemoteHeadIfMissing(repoPath: string, remote: string): Promise<void>;
58
81
  createBranch(repoPath: string, name: string, ref: string, options?: {
59
82
  noTracking?: boolean;
60
83
  }): Promise<void>;
@@ -99,16 +122,65 @@ export declare class BranchesGitSubProvider implements GitBranchesSubProvider {
99
122
  * caches the former forever and must not cache the latter.
100
123
  */
101
124
  private getBaseBranchFromReflog;
102
- getAheadOfBase(repoPath: string, branch: string, cancellation?: AbortSignal): Promise<AheadOfBase>;
125
+ /**
126
+ * The start point `ref`'s own reflog says it was created from (`branch: Created from <name>`), as git wrote it:
127
+ * a branch, `HEAD`, a sha, a tag or any other revision. `undefined` unless exactly one entry says so. Rejects
128
+ * when the reflog can't be read, including for a ref that doesn't exist.
129
+ */
130
+ private getReflogCreatedFrom;
131
+ /**
132
+ * The branch `branch` was created from, as a base for {@link getAheadOfBaseInOrder}: the name its own reflog
133
+ * gives, when that is a local or remote-tracking branch in the cached ref list and not `branch` itself or its
134
+ * copy on a remote (`git switch <branch>` creates it from `<remote>/<branch>`). Never the checkout history in
135
+ * HEAD's reflog, which on a long-lived checkout names whatever was checked out last.
136
+ */
137
+ private getCreatedFromTarget;
138
+ getAheadOfBase(repoPath: string, branch: string | undefined, options?: {
139
+ skipUserTarget?: boolean;
140
+ preferredTarget?: string;
141
+ }, cancellation?: AbortSignal): Promise<AheadOfBase>;
142
+ /**
143
+ * Resolves the base from the recorded candidates, then the branch it was created from or the default branch, for
144
+ * {@link getAheadOfBase}
145
+ */
146
+ private getAheadOfBaseInOrder;
147
+ /**
148
+ * The base for a branch created from `createdFrom`: that branch, unless the default branch forked strictly nearer
149
+ * HEAD, as it does once `createdFrom` merged into it and the branch was rebased onto it. A stacked branch's
150
+ * unmerged parent forked nearer, and stays its base. `undefined` when neither is usable.
151
+ */
152
+ private getCreatedFromForkTarget;
153
+ /** Counts HEAD's commits past `target` for {@link getAheadOfBase} */
154
+ private measureAheadOfBase;
155
+ /** Counts the default branch's own commits past its upstream (see {@link getSelfUpstreamTarget}) for {@link getAheadOfBase} */
156
+ private measureAheadOfSelfUpstream;
157
+ /**
158
+ * HEAD's count against `ref` from their merge base: `left` only `ref` has, `right` only HEAD has. `undefined`
159
+ * before HEAD's first commit, when there is nothing to count; any other failure rejects with git's error.
160
+ */
161
+ private countAgainstBase;
162
+ getAheadBehindCounts(repoPath: string, base: string, options?: {
163
+ remotes?: boolean;
164
+ refs?: readonly string[];
165
+ }, cancellation?: AbortSignal): Promise<Map<string, {
166
+ ahead: number;
167
+ behind: number;
168
+ }>>;
169
+ getMergedBranches(repoPath: string, into: string, options?: {
170
+ remotes?: boolean;
171
+ }, cancellation?: AbortSignal): Promise<Set<string>>;
103
172
  /** Counts `range` with a fresh `rev-list`, bypassing the cached count. Rejects on any failure, with git's error */
104
173
  private getLeftRightCountUncached;
105
174
  /** Whether HEAD names a branch with no commit yet. Rejects when that can't be read, so a failure isn't taken for an empty branch */
106
175
  private isUnbornHead;
107
176
  /**
108
- * Whether `ref` names `branch` itself: the same name, or `<remote>/<branch>` for one of the repo's actual remotes.
109
- * Splitting at the first slash instead would call a local `release/main` the same branch as `main`.
177
+ * Whether `ref` names `branch` itself: the same name, or `<remote>/<branch>` for one of the repo's actual remotes,
178
+ * short or as a full ref. Splitting at the first slash instead would call a local `release/main` the same branch
179
+ * as `main`.
110
180
  */
111
181
  private isSelfRef;
182
+ /** The repo's remote names from the cached remote list; empty when it can't be read */
183
+ private getRemoteNames;
112
184
  /** Whether `ref` names `branch` itself (see {@link isSelfRef}) and sits at HEAD's commit; tips are read only after the name matched */
113
185
  private isSelfAtHead;
114
186
  /**
@@ -118,16 +190,41 @@ export declare class BranchesGitSubProvider implements GitBranchesSubProvider {
118
190
  */
119
191
  private getRecordedBaseCandidates;
120
192
  /**
121
- * The repo's default branch from local refs only: the `origin/HEAD` symref as its local name, else
122
- * `init.defaultBranch`, else `main`, else `master` — each only if it names a commit.
193
+ * The repo's default branch from local refs only, never the network: the `HEAD` symref of the `upstream` remote,
194
+ * else of `origin`, else of the first remote, as its local branch or else as the remote ref; then, in the same
195
+ * remote order, `<remote>/main` or `<remote>/master`, again as the local branch of that name or else the remote
196
+ * ref; then `init.defaultBranch`, `main`, `master` — each only if it names a commit.
123
197
  */
124
198
  private getLocalDefaultBranchName;
199
+ /**
200
+ * `upstream/<name>` for a created-from or default base `<name>` (or `<remote>/<name>`), as another ref that base
201
+ * is measured against: in a fork whose `main` tracks `origin/main`, a branch taken off (or since rebased onto) a
202
+ * newer `upstream/main` would otherwise count the commits `origin` hasn't caught up on. Read from the cached
203
+ * remote and ref lists; `undefined` when there is no `upstream` remote, it lacks the branch, or the base is that
204
+ * ref itself.
205
+ */
206
+ private getUpstreamContender;
207
+ /** {@link getNearestForkTarget} with the `upstream` remote's copy of `candidate` as its contender */
208
+ private getUpstreamNearestForkTarget;
125
209
  /**
126
210
  * A candidate base as the ref HEAD is measured against: the candidate or its tracking ref, whichever forked
127
211
  * nearer HEAD, so a stale local base defers to its upstream while one carrying unpushed work wins over it. A
128
- * candidate neither forks from is used as-is if it names a commit. `undefined` when the candidate is unusable.
212
+ * `contender` other than the tracking ref is taken only when it forked strictly nearer than both, so a tie keeps
213
+ * the candidate's own pick. A candidate none forks from is used as-is if it names a commit. `undefined` when the
214
+ * candidate is unusable.
129
215
  */
130
216
  private getNearestForkTarget;
217
+ /**
218
+ * The base for a branch that is itself the default branch, with its tip: its own upstream, `upstream/<branch>`
219
+ * when an `upstream` remote has it, else `<branch>@{u}`. Read from the cached ref and branch lists; only a
220
+ * `<branch>` that isn't checked out spawns, for its `@{u}`. `undefined` when there is neither, or its ref is gone.
221
+ */
222
+ private getSelfUpstreamTarget;
223
+ /**
224
+ * {@link findRefTip} in `records`, the cached ref list. `getRefs` answers a failed enumeration with an empty list,
225
+ * so an empty one is asked of git instead, rather than read as every ref being absent.
226
+ */
227
+ private getRefTip;
131
228
  /** The merge base of HEAD and `ref`, preferring git's fork-point reading of `ref`'s reflog when it has one */
132
229
  private getForkPoint;
133
230
  /**
@@ -142,12 +239,15 @@ export declare class BranchesGitSubProvider implements GitBranchesSubProvider {
142
239
  private resolveStoredMergeTarget;
143
240
  getStoredDetectedMergeTargetBranchName(repoPath: string, ref: string): Promise<string | undefined>;
144
241
  getStoredUserMergeTargetBranchName(repoPath: string, ref: string): Promise<string | undefined>;
145
- /** Updates the last accessed timestamp for the current branch */
146
242
  onCurrentBranchAccessed(repoPath: string): Promise<void>;
147
- /** Updates the last accessed and modified timestamp for the current branch */
148
243
  onCurrentBranchModified(repoPath: string): Promise<void>;
149
- /** Updates the agent last activity timestamp for the current branch */
150
244
  onCurrentBranchAgentActivity(repoPath: string): Promise<void>;
245
+ private getBranchActivityKey;
246
+ private forgetBranchCreatedFrom;
247
+ /** Forgets this process's throttle marks for `name`, so its next activity re-reads the stored stamps */
248
+ private clearBranchActivityStamps;
249
+ /** Never rejects — activity stamps are bookkeeping and callers fire them without a catch */
250
+ private recordBranchActivity;
151
251
  renameBranch(repoPath: string, oldName: string, newName: string): Promise<void>;
152
252
  setUpstreamBranch(repoPath: string, name: string, upstream: string | undefined): Promise<void>;
153
253
  storeBaseBranchName(repoPath: string, ref: string, base: string, options?: {
@@ -162,7 +262,6 @@ export declare class BranchesGitSubProvider implements GitBranchesSubProvider {
162
262
  * @returns A map of branch name to metadata.
163
263
  */
164
264
  private getBranchMetadataMap;
165
- private storeBranchMetadata;
166
265
  setBranchDisposition(repoPath: string, branchName: string, disposition: BranchDisposition | undefined): Promise<void>;
167
266
  }
168
267
  //#endregion