1 | static L<Pair<File>> moveAllFiles(File fromDir, File toDir) { |
2 | new L<Pair<File>> l; |
3 | for (File f : listFiles_noDirs(fromDir)) { |
4 | moveFileToDirVerbose(f, toDir); |
5 | l.add(pair(fromDir, toDir)); |
6 | } |
7 | ret l; |
8 | } |
Began life as a copy of #1015145
download show line numbers debug dex old transpilations
Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019313 |
Snippet name: | moveAllFiles - doesn't recurse, doesn't move directories |
Eternal ID of this version: | #1019313/2 |
Text MD5: | a546b8770206d77111acb18b3551b781 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-30 16:52:40 |
Source code size: | 220 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 304 / 335 |
Version history: | 1 change(s) |
Referenced in: | [show references] |