Libraryless. Click here for Pure Java version (24060L/146K).
svoid restoreLastConceptsBackup(S dbID, O... _) { bool doIt = boolPar doIt(_); File file = conceptsFile(dbID); backupFile(file); File backup = last(sortByFileName(conceptBackupFiles(dbID))); if (backup == null) ret with print("No usable backup found :("); restoreConceptsBackup(dbID, backup, doIt); }
Began life as a copy of #1031050
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1038789 |
Snippet name: | restoreLastConceptsBackup |
Eternal ID of this version: | #1038789/1 |
Text MD5: | 8769ab958968b5bb5107e06f731f814e |
Transpilation MD5: | a47751d986b76f92691761ee6f0277e7 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2025-07-13 11:21:26 |
Source code size: | 319 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 12 / 23 |
Referenced in: | [show references] |