1 | static void keepOnlyCommentedScreenClips(bool doIt) { |
2 | Set<S> md5s = new HashSet(keys(thingsOnScreenDefinitions())); |
3 | aggressivelyCollectPossibleMD5sInTextFile(glyphTeachLog(), md5s); |
4 | |
5 | for (File f : filesEndingWith(screenClipsDir(), ".png")) |
6 | if (!md5s.contains(toLower(dropSuffix(".png", f.getName())))) |
7 | if (doIt) |
8 | moveFileToDirVerbose(f, javaxCachesDir("Deleted Screen Clips")); |
9 | else |
10 | print("Would delete " + f2s(f)); |
11 | } |
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: | 358 / 400 |
Version history: | 5 change(s) |
Referenced in: | [show references] |