static void forgetTranspiledStandardFunctions(S... functions) { if (empty(functions)) forgetAllTranspiledStandardFunctions(); else forgetTranspiledStandardFunctions(lithashset(functions)); } static void forgetTranspiledStandardFunctions(Iterable<S> functions) { Set<S> functionSet = asSet(functions); for (File f : listFilesWithExtension(transpiledStandardFunctions_dir(), ".functions")) { if (!containsOneOf(lines(loadTextFile(f)), functionSet)) continue; deleteFile(replaceExtension(f, ".java")); deleteFile(f); } }
Began life as a copy of #1015098
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: | #1017178 |
| Snippet name: | forgetTranspiledStandardFunctions |
| Eternal ID of this version: | #1017178/6 |
| Text MD5: | fe7752cc0d8b04be731f2f7b4f1ae7bc |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-25 13:02:17 |
| Source code size: | 562 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 541 / 585 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |