5ISTB4TW2BH52Y7U4XSVQ5PBHWIHIN2Q26V5M25HLWWHKJIPCNOQC
GNQD74OZ56J2R23GVUGFP3G5KVML2KDZ4OUZK6SVLSM7HVO2WOCAC
6H4B4UJQ4PQULICKBZ5U55QU2BWIH2VNGRCUVYR7KDYOGC7MQU7QC
ILH3GIVTVMKSU5TH5ZZSPB3URX622JA2BNBOO6K7ZTF4ISYDTJLAC
NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC
VP6KWIRTMOLWYL66Z5KE2UBZ725EHUNGEKR3XVNLUIJV3HQNKFRQC
ODRMVURU4WGZNYNFTK4ZR6YVA4V4R6EL2OK3PJLYE2HJJEMNISSQC
L3VOQYAF3HCAFWJ7QFULL54WUZ35B4K3MWU5YDRW7R4VTXSDWJUQC
* Copy the hash of a change to the clipboard
* @param change The resources to copy the hash of
*/
@command('pijul.copyChangeHash')
async copyChangeHash (change: PijulChange): Promise<void> {
env.clipboard.writeText(change.hash);
}
/**
* Copy the message of a change to the clipboard
* @param change The resources to copy the message of
*/
@command('pijul.copyChangeMessage')
async copyChangeMessage (change: PijulChange): Promise<void> {
env.clipboard.writeText(change.message);
}
/**
"command": "pijul.openChange",
"when": "view == pijul.views.log && viewItem == pijulChange"
"command": "pijul.openChange",
"when": "view == pijul.views.log && viewItem == pijulChange"
},
{
"command": "pijul.copyChangeHash",
"when": "view == pijul.views.log && viewItem == pijulChange",
"group": "change"
},
{
"command": "pijul.copyChangeMessage",
"when": "view == pijul.views.log && viewItem == pijulChange",
"group": "change"