64J6B76FTOAIPF2HGPIQYU523COLWHN7QOVC3XY42PHKC3GCLMZAC 5ISTB4TW2BH52Y7U4XSVQ5PBHWIHIN2Q26V5M25HLWWHKJIPCNOQC BIEL6Z5JDBIC7ODKOW2FW65S2EW5U4ARAPWSD6FQLM2GKTEB6IBQC B4SKYP3Y5R7UPPGLLZV7OK3SIN4TRAJ3IL6FS3T7ZFZF5HTEQARQC 6ONRFFRGQKTVXAV3URSA2QGMZYSEZBJ7BVMGVWW5M55MY57WFMQQC WHQQV5QQHLUK5F6TXIDMPKI73E5FLCEWAUAAW3PGI2E6TPVQJVYAC MU6ZNUYZBFX4HUTJO7HEXCEJ5KTQAMCR4MUKSUDM2MYUFCEAHRDAC L44OILGKTGXSLQ3A4UQH44AMJXAVZSFISAB6ICHCDB6D42NKUWBQC L3VOQYAF3HCAFWJ7QFULL54WUZ35B4K3MWU5YDRW7R4VTXSDWJUQC ZGMIJNFVDK7R6AF56FNCA23W5KV3HVBUBPTWMLQADCEPB3MOPELQC GNQD74OZ56J2R23GVUGFP3G5KVML2KDZ4OUZK6SVLSM7HVO2WOCAC ILH3GIVTVMKSU5TH5ZZSPB3URX622JA2BNBOO6K7ZTF4ISYDTJLAC 6H4B4UJQ4PQULICKBZ5U55QU2BWIH2VNGRCUVYR7KDYOGC7MQU7QC NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC * Rename a channel. If a new name is not provided, the user will be prompted for one* @param channel The channel to rename* @param newName The new name that will be given to the channel*/async renameChannel (channel: PijulChannel, newName?: string): Promise<void> {if (!newName) {newName = await window.showInputBox({placeHolder: 'Channel Name',prompt: 'Please enter the new name for channel ' + channel.name,ignoreFocusOut: true});}if (newName) {this.repository.renameChannel(channel, newName);} else {window.showErrorMessage('Channel was not renamed, no new name was provided');}}/**
* Rename a channel in the repository.* @param channel The channel to rename* @param newName The new name that will be given to the channel*/async renameChannel (channel: PijulChannel, newName: string): Promise<void> {await this._pijul.exec(this.repositoryRoot, ['channel', 'rename', channel.name, newName]);}/**
}/*** Rename a channel* @param repository The repository that contains the channel*/@command('pijul.renameChannel', { repository: true })async renameChannel (repository: Repository, channel: PijulChannel): Promise<void> {await repository.renameChannel(channel);await repository.refreshStatus();