Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1017179 // saveTextFileUnlessExists

JavaX fragment (include)

static void saveTextFileUnlessExists(File f, S contents) {
  if (f != null && !f.exists())
    saveTextFile(f, contents);
}

Author comment

Began life as a copy of #1016945

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017179
Snippet name: saveTextFileUnlessExists
Eternal ID of this version: #1017179/1
Text MD5: 1ca68e2d29fd9fd9ae4f1161126895ac
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-13 17:10:08
Source code size: 126 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 255 / 297
Referenced in: [show references]