1 | static void moveFileToDir(File f, File dir) {
|
2 | if (!renameFile(f, newFile(dir, f.getName()))) |
3 | fail("Can't move file " + f + " to dir " + dir);
|
4 | } |
Began life as a copy of #1002706
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: | #1015146 |
| Snippet name: | moveFileToDir |
| Eternal ID of this version: | #1015146/2 |
| Text MD5: | ca914e4fa8f645a57c9edd710ce8e263 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-10 11:47:03 |
| Source code size: | 152 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 639 / 673 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |