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

5
LINES

< > BotCompany Repo | #1005015 - saveTextFileVerbose

JavaX fragment (include)

static void saveTextFileVerbose(File f, S text) {
  bool exists = f.exists();
  saveTextFile(f, text);
  print((!exists ? "Created" : "Updated") + " file " + f2s(f) + " (" + f.length() + " bytes)");
}

download  show line numbers  debug dex   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1005015
Snippet name: saveTextFileVerbose
Eternal ID of this version: #1005015/2
Text MD5: 3a94cfca6aa690dd663868cbbe14eae9
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:32:09
Source code size: 204 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 383 / 353
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005015 & http://1005015.tinybrain.de