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

5
LINES

< > BotCompany Repo | #1032407 // assertFileExistsVerbose

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

Libraryless. Click here for Pure Java version (3176L/17K).

static File assertFileExistsVerbose(File f) {
  if (!fileExists(f)) fail("File not found: " + f);
  print("OK - file exists: " + f);
  ret f;
}

Author comment

Began life as a copy of #1016158

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032407
Snippet name: assertFileExistsVerbose
Eternal ID of this version: #1032407/1
Text MD5: e271bd1c506cccb2a266cf3085c9e51c
Transpilation MD5: e24683d42f5574ab6e4edeea5e480853
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-03 01:30:44
Source code size: 147 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 68 / 106
Referenced in: [show references]