static bool renameFileIfExists(File a, File b) { ret fileExists(a) && renameFile(a, b); } static bool renameFileIfExists(File a, S newName) { ret fileExists(a) && renameFile(a, newName); }
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, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018668 |
Snippet name: | renameFileIfExists |
Eternal ID of this version: | #1018668/1 |
Text MD5: | dfa2915ef30aacfb52860bf47303d130 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-08 12:46:17 |
Source code size: | 199 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 325 / 366 |
Referenced in: | [show references] |