svoid saveTextFileWithBackup(File f, S text) { backupTextFile(f, text); saveTextFile(f, text); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023097 |
Snippet name: | saveTextFileWithBackup - backup original file if different |
Eternal ID of this version: | #1023097/2 |
Text MD5: | 0d8959e1f5dfe51126662433f1bd9582 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-05-05 18:12:21 |
Source code size: | 103 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 272 / 318 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023098 - backupTextFile - backup file if different from new contents #1023099 - saveTextFileWithBackupVerbose - backup original file if different |