Skip to content

Commit b7977ef

Browse files
committed
Removes unused function
1 parent 53195a0 commit b7977ef

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/git/utils/branch-utils.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@ import type { Container } from '../../container';
44
import { getIconPathUris } from '../../system/vscode';
55
import type { GitBranch } from '../models/branch';
66

7-
export type BranchIconStatus = 'ahead' | 'behind' | 'diverged' | 'synced';
8-
export function getBranchIconStatus(branch: GitBranch): BranchIconStatus | undefined {
9-
switch (branch.status) {
10-
case 'ahead':
11-
case 'behind':
12-
case 'diverged':
13-
return branch.status;
14-
case 'upToDate':
15-
return 'synced';
16-
default:
17-
return undefined;
18-
}
19-
}
20-
217
export function getBranchIconPath(container: Container, branch: GitBranch | undefined): IconPath {
228
const status = branch?.status;
239
switch (status) {

0 commit comments

Comments
 (0)