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

5
LINES

< > BotCompany Repo | #1029473 // saveExecutableTextFile

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4020L/28K).

static File saveExecutableTextFile(File file, S contents) ctex {
  saveTextFile(file, contents);
  makeExecutable(file);
  ret file;
}

Author comment

Began life as a copy of #1001042

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029473
Snippet name: saveExecutableTextFile
Eternal ID of this version: #1029473/1
Text MD5: dc0fd188f5800b56ab8a8ddb5f0c9bb2
Transpilation MD5: ddea3d598c0ae5b8da7c85e5666aecca
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-12 00:51:31
Source code size: 138 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 230 / 317
Referenced in: [show references]