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

4
LINES

< > BotCompany Repo | #1026086 // saveTextFileIfDifferentVerbose

JavaX fragment (include)

sbool saveTextFileIfDifferentVerbose(File f, S contents) {
  if (eq(loadTextFile(f), contents)) false; // TODO: optimize
  ret true with saveTextFileVerbose(f, contents);
}

Author comment

Began life as a copy of #1016945

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: #1026086
Snippet name: saveTextFileIfDifferentVerbose
Eternal ID of this version: #1026086/1
Text MD5: f561109edd9ea007d4d7e37722104dbd
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:33:47
Source code size: 175 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 177 / 215
Referenced in: [show references]