XVYOJLZ4GYPFZFVBTTR7U3HXG5KBDBD5VQAW64GA6V32O2VP2H4AC
GPTHUH3N7W2DMGEYDBKIAQFJS3CLNQEV667FQCRIH4ZNHFRODRLQC
HVVRC2GNC3D5PULNDL5XSPOQVJS2QWVU7GDGYSWLNYTK73UPYMHQC
6ONRFFRGQKTVXAV3URSA2QGMZYSEZBJ7BVMGVWW5M55MY57WFMQQC
B4SKYP3Y5R7UPPGLLZV7OK3SIN4TRAJ3IL6FS3T7ZFZF5HTEQARQC
BIEL6Z5JDBIC7ODKOW2FW65S2EW5U4ARAPWSD6FQLM2GKTEB6IBQC
L44OILGKTGXSLQ3A4UQH44AMJXAVZSFISAB6ICHCDB6D42NKUWBQC
ZGMIJNFVDK7R6AF56FNCA23W5KV3HVBUBPTWMLQADCEPB3MOPELQC
5ISTB4TW2BH52Y7U4XSVQ5PBHWIHIN2Q26V5M25HLWWHKJIPCNOQC
64J6B76FTOAIPF2HGPIQYU523COLWHN7QOVC3XY42PHKC3GCLMZAC
ILH3GIVTVMKSU5TH5ZZSPB3URX622JA2BNBOO6K7ZTF4ISYDTJLAC
6H4B4UJQ4PQULICKBZ5U55QU2BWIH2VNGRCUVYR7KDYOGC7MQU7QC
5ZDRHVXDP5DP5E2RXRPQX4VAKVHGA5MVFYUPI2D42BAWWUGIRZNAC
NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC
GNQD74OZ56J2R23GVUGFP3G5KVML2KDZ4OUZK6SVLSM7HVO2WOCAC
}
}
/**
* Delete a remote
* @param targetRemote The remote that will be deleted
*/
async deleteRemote (targetRemote?: PijulRemote): Promise<void> {
if (!targetRemote) {
const items = (await this.repository.getRemotes()).map(c => ({
label: c.url,
description: c.remoteid,
value: c
}));
const pick = await window.showQuickPick(items, { placeHolder: 'Remote url', ignoreFocusOut: true });
targetRemote = pick?.value;
* Delete a remote
* @param repository The repository that contains the remote
* @param targetRemote The remote to be deleted
*/
@command('pijul.deleteRemote', { repository: true })
async deleteRemote (repository: Repository, targetRemote?: PijulRemote): Promise<void> {
await repository.deleteRemote(targetRemote);
await repository.refreshStatus();
}
/**