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)

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

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: 445 / 467
Referenced in: [show references]