Libraryless. Click here for Pure Java version (4320L/26K).
svoid restoreNextToLastConceptsBackup(S dbID, O... _) { bool doIt = boolPar doIt(_); File file = conceptsFile(dbID); backupFile(file); File backup = nextToLast(sortByFileName(conceptBackupFiles(dbID))); if (backup == null) ret with print("No usable backup found :("); restoreConceptsBackup(dbID, backup, doIt); }
Began life as a copy of #1022129
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031050 |
Snippet name: | restoreNextToLastConceptsBackup |
Eternal ID of this version: | #1031050/1 |
Text MD5: | 5a3c6c3088dca668cabebac0f0b11915 |
Transpilation MD5: | d9a2f7ef85026b6ca2f61466c19ca690 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-26 15:44:40 |
Source code size: | 331 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 189 / 288 |
Referenced in: | [show references] |