1 | static void saveTextFileVerbose(File f, S text) { |
2 | bool exists = f.exists(); |
3 | saveTextFile(f, text); |
4 | print((!exists ? "Created" : "Updated") + " file " + f2s(f) + " (" + f.length() + " bytes)"); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005015 |
Snippet name: | saveTextFileVerbose |
Eternal ID of this version: | #1005015/2 |
Text MD5: | 3a94cfca6aa690dd663868cbbe14eae9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-19 23:32:09 |
Source code size: | 204 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 690 / 708 |
Version history: | 1 change(s) |
Referenced in: | [show references] |