Libraryless. Click here for Pure Java version (13288L/90K).
// assumes concepts have been written out static File backupConceptsNow(Concepts cc default db_mainConcepts()) { if (cc == null) null; File f1 = cc.conceptsFile(); File f2 = fileInSameDir(f1, "backups/concepts.structure" + (cc.useGZIP ? ".gz" : "") + ".backup" + ymd_minus_hms()); ret copyFile(f1, f2); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030029 |
Snippet name: | backupConceptsNow |
Eternal ID of this version: | #1030029/3 |
Text MD5: | 77ad6ef9974e0935ac4d48acf80e990f |
Transpilation MD5: | c5702f5131964ab554641a778215841b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-10-31 11:46:22 |
Source code size: | 318 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 307 |
Version history: | 2 change(s) |
Referenced in: | [show references] |