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

14
LINES

< > BotCompany Repo | #1017112 // mechList_completeLocalCopies

JavaX fragment (include)

1  
svoid mechList_completeLocalCopies() {
2  
  mechList_completeLocalCopies(mechListMD5s());
3  
}
4  
5  
svoid mechList_completeLocalCopies(SS mechListMD5s) {
6  
  for (S name, S md5 : mechListMD5s) {
7  
    if (mechList_localCopyHasMD5(name, md5)) {
8  
      //print("Up to date:  " + name);
9  
    } else {
10  
      print("Downloading mech list: " + name);
11  
      serverMechList_raw_fresh(name);
12  
    }
13  
  }
14  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017112
Snippet name: mechList_completeLocalCopies
Eternal ID of this version: #1017112/2
Text MD5: 63e685a50f2f02aeef24c77911a71e05
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 19:20:53
Source code size: 391 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 415 / 460
Version history: 1 change(s)
Referenced in: [show references]