浏览代码

Makes enum bit flags clearer

main
Eric Amodio 3 年前
父节点
当前提交
44ad987844
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. +5
    -5
      src/quickpicks/referencePicker.ts

+ 5
- 5
src/quickpicks/referencePicker.ts 查看文件

@ -11,12 +11,12 @@ import { BranchQuickPickItem, getQuickPickIgnoreFocusOut, RefQuickPickItem, TagQ
export type ReferencesQuickPickItem = BranchQuickPickItem | TagQuickPickItem | RefQuickPickItem;
export const enum ReferencesQuickPickIncludes {
Branches = 1,
Tags = 2,
WorkingTree = 4,
HEAD = 8,
Branches = 1 << 0,
Tags = 1 << 1,
WorkingTree = 1 << 2,
HEAD = 1 << 3,
BranchesAndTags = 3,
BranchesAndTags = Branches | Tags,
}
export interface ReferencesQuickPickOptions {

正在加载...
取消
保存