mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-15 01:25:42 -05:00
Renames commands/commands to commands/common
Renames quickpicks/quickpicks to quickpicks/common Moves git quick picks into common and other quick pick files
This commit is contained in:
@@ -4,6 +4,16 @@ import { BuiltInCommands } from '../../constants';
|
||||
|
||||
export type RemoteOpenType = 'branch' | 'commit' | 'file' | 'working-file';
|
||||
|
||||
export function getNameFromRemoteOpenType(type: RemoteOpenType) {
|
||||
switch (type) {
|
||||
case 'branch': return 'Branch';
|
||||
case 'commit': return 'Commit';
|
||||
case 'file': return 'File';
|
||||
case 'working-file': return 'Working File';
|
||||
default: return '';
|
||||
}
|
||||
}
|
||||
|
||||
export abstract class RemoteProvider {
|
||||
|
||||
constructor(public domain: string, public path: string) { }
|
||||
|
||||
Reference in New Issue
Block a user