Libraryless. Click here for Pure Java version (3032L/18K).
static File createPWFile(File file) { if (fileLength(file) == 0) saveTextFile(file, aGlobalID()); ret file; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030649 |
Snippet name: | createPWFile - fill file with random ID if empty/not there |
Eternal ID of this version: | #1030649/2 |
Text MD5: | 7189ce1c2cfb31fbd471ea2cb7c817d5 |
Transpilation MD5: | f2d8e5d6763ce2799784337fd22f7846 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-02-19 15:39:47 |
Source code size: | 121 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 235 / 331 |
Version history: | 1 change(s) |
Referenced in: | [show references] |