static void moveFileToDir(File f, File dir) { if (!renameFile(f, newFile(dir, f.getName()))) fail("Can't move file " + f + " to dir " + dir); }
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: | 636 / 668 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |