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:
Eric Amodio
2017-03-28 16:19:57 -04:00
parent aa39792843
commit 8b0748608d
40 changed files with 117 additions and 119 deletions

View File

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