L44OILGKTGXSLQ3A4UQH44AMJXAVZSFISAB6ICHCDB6D42NKUWBQC
6ONRFFRGQKTVXAV3URSA2QGMZYSEZBJ7BVMGVWW5M55MY57WFMQQC
B4SKYP3Y5R7UPPGLLZV7OK3SIN4TRAJ3IL6FS3T7ZFZF5HTEQARQC
BIEL6Z5JDBIC7ODKOW2FW65S2EW5U4ARAPWSD6FQLM2GKTEB6IBQC
MU6ZNUYZBFX4HUTJO7HEXCEJ5KTQAMCR4MUKSUDM2MYUFCEAHRDAC
JYMSJCPQJYHP2OQLGDM2SBN4I7HO2ORFNRY3GB5QQIPYFSJE7JOQC
ZGMIJNFVDK7R6AF56FNCA23W5KV3HVBUBPTWMLQADCEPB3MOPELQC
ILH3GIVTVMKSU5TH5ZZSPB3URX622JA2BNBOO6K7ZTF4ISYDTJLAC
NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC
3N3RS66TMPGMAKX3CP2HWWGAB24Z5FZEWFPKTJEWULC7CHHMWTGAC
H6KYVQ2QJCVDTFB35I4RDFC6OT6HTRTU45RQEQMONBFS2NITP4MAC
import { Disposable, Event, EventEmitter, OutputChannel, RelativePattern, scm, SourceControl, Uri, window, workspace } from 'vscode';
import { Disposable, Event, EventEmitter, OutputChannel, RelativePattern, scm, SourceControl, SourceControlResourceState, Uri, window, workspace } from 'vscode';
}
/**
* Resets specific files in the repository, discarding unrecorded changes
* @param repository The repository that contains the files
* @param resourceStates The resources that will be reset
*/
@command('pijul.reset', { repository: true })
async stage (repository: Repository, ...resourceStates: SourceControlResourceState[]): Promise<void> {
for (const resource of resourceStates) {
console.log(resource.resourceUri.path);
}
repository.reset(...resourceStates);