Libraryless. Click here for Pure Java version (5073L/28K).
sbool renameFileVerbose(File a, File b) { if (a == null || b == null) false; bool result = renameFile(a, b); print("Renaming " + f2s(a) + " to " + f2s(b) + "? " + yesNo2(result)); ret result; } static bool renameFileVerbose(File a, S newName) { ret renameFileVerbose(a, fileInSameDir(a, newName)); }
Began life as a copy of #1002706
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024948 |
Snippet name: | renameFileVerbose |
Eternal ID of this version: | #1024948/4 |
Text MD5: | 1a0895ee25e2f3519fdb6e4318723c65 |
Transpilation MD5: | 5b0e2566f3d11b3e81ec58ee5dd9e4fe |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-06 01:11:24 |
Source code size: | 319 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 217 / 312 |
Version history: | 3 change(s) |
Referenced in: | [show references] |