Ver a proveniência

Makes enum bit flags clearer

main
Eric Amodio há 3 anos
ascendente
cometimento
44ad987844
1 ficheiros alterados com 5 adições e 5 eliminações
  1. +5
    -5
      src/quickpicks/referencePicker.ts

+ 5
- 5
src/quickpicks/referencePicker.ts Ver ficheiro

@ -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 {

Carregando…
Cancelar
Guardar