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

6
LINES

< > BotCompany Repo | #1025094 // stefansOS_cleanDiskCaches

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

Libraryless. Click here for Pure Java version (7916L/54K).

svoid stefansOS_cleanDiskCaches() {
  L<File> files = filesOlderThanNDays(7, deletableProgramJars());
  S stats = renderFilesStats(files);
  deleteFilesVerbose(files);
  infoBox("Cleared JAR cache - " + stats);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1025094
Snippet name: stefansOS_cleanDiskCaches
Eternal ID of this version: #1025094/3
Text MD5: ca12952a4dd8ab7b1d7ba014040240a1
Transpilation MD5: 29038fe5220d98c5055a278d56fd778d
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-05 14:15:47
Source code size: 217 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 290 / 392
Version history: 2 change(s)
Referenced in: [show references]