Libraryless. Click here for Pure Java version (2527L/16K).
1 | svoid copyConceptsFile(S dbID1, S dbID2) { |
2 | for (S ending : ll("", ".gz")) { |
3 | File f1 = getProgramFile(dbID1, "concepts.structure" + ending); |
4 | File f2 = getProgramFile(dbID2, "concepts.structure" + ending); |
5 | if (!f2.exists() && f1.exists()) |
6 | copyFile(f1, f2); |
7 | } |
8 | } |
9 | |
10 | static File copyConceptsFile(S dbID, File dest) { |
11 | ret copyFile(conceptsFile(dbID), dest); |
12 | } |
Began life as a copy of #1004931
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1021042 |
Snippet name: | copyConceptsFile |
Eternal ID of this version: | #1021042/4 |
Text MD5: | 020afa84cf1a2ffd02a102d8947fd797 |
Transpilation MD5: | 2a5883a997b6cbce0a3e89df548e3d32 |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-09 21:49:51 |
Source code size: | 386 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 300 / 368 |
Version history: | 3 change(s) |
Referenced in: | [show references] |