feat: add clone repository option to folder picker (#297995)

This commit is contained in:
Benjamin Christopher Simmonds
2026-02-26 14:59:13 +01:00
committed by GitHub
parent c32d479a38
commit e30f28558f
2 changed files with 23 additions and 2 deletions

View File

@@ -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')