svoid deleteLocalMechListCopiesOtherThan(Set<S> names) { for (File f : listFilesWithExtension(remoteMechListMirrorsDir(), ".name")) { S name = loadTextFile(f); if (!names.contains(name)) deleteFiles(f, remoteMechListMirrorFile(name), remoteMechListMirrorMetaFile(name)); } }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021033 |
Snippet name: | deleteLocalMechListCopiesOtherThan |
Eternal ID of this version: | #1021033/2 |
Text MD5: | 6b8677d11a23b7c19107dab6d573e777 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-19 16:00:23 |
Source code size: | 298 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 328 / 355 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |