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

8
LINES

< > BotCompany Repo | #1036178 // deleteFileIfZippedVersionExists

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

Libraryless. Click here for Pure Java version (9289L/51K).

static File deleteFileIfZippedVersionExists(File f) {
  File zipFile = appendToFileName(f, ".zip");
  if (isFile(f) && isFile(zipFile)) {
    deleteFile_assertSuccess(f);
    ret zipFile;
  }
  null;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036178
Snippet name: deleteFileIfZippedVersionExists
Eternal ID of this version: #1036178/1
Text MD5: 27d923540e4276d290d4887cb1f2026c
Transpilation MD5: 9fe44ed96e21457f0539c66533646312
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-05 18:43:47
Source code size: 208 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 119 / 171
Referenced in: [show references]