mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 12:33:35 +01:00
feat: add clone repository option to folder picker (#297995)
This commit is contained in:
committed by
GitHub
parent
c32d479a38
commit
e30f28558f
@@ -1028,8 +1028,8 @@ export class CommandCenter {
|
||||
}
|
||||
|
||||
@command('git.clone')
|
||||
async clone(url?: string, parentPath?: string, options?: { ref?: string }): Promise<void> {
|
||||
await this.cloneManager.clone(url, { parentPath, ...options });
|
||||
async clone(url?: string, parentPath?: string, options?: { ref?: string; postCloneAction?: 'none' }): Promise<string | undefined> {
|
||||
return this.cloneManager.clone(url, { parentPath, ...options });
|
||||
}
|
||||
|
||||
@command('git.cloneRecursive')
|
||||
|
||||
Reference in New Issue
Block a user