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).

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

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: 313 / 418
Version history: 2 change(s)
Referenced in: [show references]