1 | sbool renameFileInfoBox(File a, File b) { |
2 | if (a == null || b == null) false; |
3 | bool result = renameFile(a, b); |
4 | infoBox("Renaming " + f2s(a) + " to " + f2s(b) + "? " + yesNo2(result)); |
5 | ret result; |
6 | } |
7 | |
8 | sbool renameFileInfoBox(File a, S newName) { |
9 | ret renameFileInfoBox(a, fileInSameDir(a, newName)); |
10 | } |
Began life as a copy of #1024948
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035517 |
Snippet name: | renameFileInfoBox |
Eternal ID of this version: | #1035517/1 |
Text MD5: | 38b46f3c2c3a691fa5eb0fc5cc6e6dff |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-06-02 00:48:36 |
Source code size: | 315 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 108 / 122 |
Referenced in: | [show references] |