1 | /** writes safely (to temp file, then rename) */ |
2 | static File saveLinesAsTextFile(String fileName, Iterable<S> lines) ctex { |
3 | ret saveTextFile(fileName, lines(lines)); |
4 | } |
5 | |
6 | static File saveLinesAsTextFile(File fileName, Iterable<S> lines) { |
7 | ret saveLinesAsTextFile(fileName.getPath(), lines); |
8 | } |
Began life as a copy of #1001042
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: | #1024333 |
Snippet name: | saveLinesAsTextFile |
Eternal ID of this version: | #1024333/3 |
Text MD5: | 090182aef0f9fb6738667be9e7fdaa6c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-03 22:30:52 |
Source code size: | 301 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 206 / 247 |
Version history: | 2 change(s) |
Referenced in: | [show references] |