Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1009476 // seedDBFrom_migratingClasses - seed with other program's DB, migrating class names

JavaX fragment (include)

1  
static void seedDBFrom_migratingClasses(S progID, O... migrations) {
2  
  File f1 = getProgramFile(progID, "concepts.structure.gz");
3  
  File f2 = getProgramFile(programID(), "concepts.structure.gz");
4  
  if (!f2.exists() && f1.exists())
5  
    saveGZTextFile(f2, migrateClassesInStructureText(loadGZTextFile(f1), migrations));
6  
}

Author comment

Began life as a copy of #1009472

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009476
Snippet name: seedDBFrom_migratingClasses - seed with other program's DB, migrating class names
Eternal ID of this version: #1009476/1
Text MD5: ec669edd31d528820efd23b3a534cdbd
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-03 22:43:41
Source code size: 324 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 446 / 469
Referenced in: [show references]