Details
Details
- Reviewers
atul • abosh - Commits
- rCOMM1bc6faac28eb: [keyserver] Extract getBackupInfos
I copy pasted the new backups.js file into prod and added a console.log of the result of getBackupInfos. I made sure it was in chrono order and had everything right
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
keyserver/src/cron/backups.js | ||
---|---|---|
223 | Thoughts on naming this something like getSortedBackupInfos or something? Just something to indicate at the callsite that we're getting the data in some order so the [0] seems less arbitrary? | |
223 | Can we make this return type $ReadOnlyArray<BackupInfo? | |
230 | We could maybe sequence the startsWith before the endsWith... but really doesn't matter. |