VWRDBPJZG6LMTUN2BKCBBPY2LZNJDIJMJ4SFYGXYQFW2XDNXNJPAC
YDCLFNEJZCXIHV6SS2XC7WPBPA5QTSLRMVVDLZ3XRJ7QDAISEGHQC
MU6ZNUYZBFX4HUTJO7HEXCEJ5KTQAMCR4MUKSUDM2MYUFCEAHRDAC
B4SKYP3Y5R7UPPGLLZV7OK3SIN4TRAJ3IL6FS3T7ZFZF5HTEQARQC
JYMSJCPQJYHP2OQLGDM2SBN4I7HO2ORFNRY3GB5QQIPYFSJE7JOQC
ILH3GIVTVMKSU5TH5ZZSPB3URX622JA2BNBOO6K7ZTF4ISYDTJLAC
L44OILGKTGXSLQ3A4UQH44AMJXAVZSFISAB6ICHCDB6D42NKUWBQC
NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC
H6KYVQ2QJCVDTFB35I4RDFC6OT6HTRTU45RQEQMONBFS2NITP4MAC
}
}
/**
* Adds one or more currently untracked files to the Pijul repository
* @param resourceStates The files to add to the repository
*/
async addFiles (...resourceStates: SourceControlResourceState[]): Promise<void> {
for await (const untrackedFile of resourceStates) {
await this.repository.addFile(untrackedFile.resourceUri);
* Adds one or more currently untracked files to the Pijul repository
* @param repository The repository the untracked files will be added to
* @param resourceStates The files that will be added
*/
@command('pijul.add', { repository: true })
async add (repository: Repository, ...resourceStates: SourceControlResourceState[]): Promise<void> {
await repository.addFiles(...resourceStates);
await repository.refreshStatus();
}
/**
"scm/title": [
{
"command": "pijul.recordAll",
"when": "scmProvider == pijul"
},
{
"command": "pijul.resetAll",
"when": "scmProvider == pijul"
},
{
"command": "pijul.addAll",
"when": "scmProvider == pijul"
}
],
"scm/resourceGroup/context": [
{
"command": "pijul.recordAll",
"when": "scmProvider == pijul && scmResourceGroup == changed"
},
{
"command": "pijul.resetAll",
"when": "scmProvider == pijul && scmResourceGroup == changed"
},
{
"command": "pijul.addAll",
"when": "scmProvider == pijul && scmResourceGroup == untracked"
}
],