Libraryless. Click here for Pure Java version (24060L/146K).
1 | svoid restoreLastConceptsBackup(S dbID, O... _) { |
2 | bool doIt = boolPar doIt(_); |
3 | File file = conceptsFile(dbID); |
4 | backupFile(file); |
5 | File backup = last(sortByFileName(conceptBackupFiles(dbID))); |
6 | if (backup == null) ret with print("No usable backup found :("); |
7 | restoreConceptsBackup(dbID, backup, doIt); |
8 | } |
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: | 18 / 29 |
Referenced in: | [show references] |