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

11
LINES

< > BotCompany Repo | #1015201 // keepOnlyCommentedScreenClips

JavaX fragment (include)

static void keepOnlyCommentedScreenClips(bool doIt) {
  Set<S> md5s = new HashSet(keys(thingsOnScreenDefinitions()));
  aggressivelyCollectPossibleMD5sInTextFile(glyphTeachLog(), md5s);
    
  for (File f : filesEndingWith(screenClipsDir(), ".png"))
    if (!md5s.contains(toLower(dropSuffix(".png", f.getName()))))
      if (doIt)
        moveFileToDirVerbose(f, javaxCachesDir("Deleted Screen Clips"));
      else
        print("Would delete " + f2s(f));
}

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: #1015201
Snippet name: keepOnlyCommentedScreenClips
Eternal ID of this version: #1015201/6
Text MD5: d107093f384929276192bee9691c49c8
Author: stefan
Category: javax / ocr
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 21:49:13
Source code size: 468 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 249 / 294
Version history: 5 change(s)
Referenced in: [show references]