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

10
LINES

< > BotCompany Repo | #1018644 // deleteFiles

JavaX fragment (include)

static bool deleteFiles(File... files) {
  ret deleteFiles(asList(files));
}

static bool deleteFiles(L<File> files) {
  bool b = false;
  for (File f : unnull(files))
    if (deleteFile(f)) b = true;
  ret b;
}

Author comment

Began life as a copy of #1006744

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018644
Snippet name: deleteFiles
Eternal ID of this version: #1018644/2
Text MD5: 9e718b1bb31cd652e5a20344f6b83163
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 16:09:25
Source code size: 220 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 369 / 388
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1025089 - deleteFilesVerbose - returns files actually deleted