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

5
LINES

< > BotCompany Repo | #1035143 // deleteErroneousBinarySnippets - it seems text snippets are being put into the Binary Snippets directory...

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

Libraryless. Click here for Pure Java version (7718L/43K).

1  
svoid deleteErroneousBinarySnippets() {
2  
  for (File f : listFilesOnly(getGlobalCache()))
3  
    if (startsWithDigit(fileName(f)))
4  
      deleteFileVerbose(f);
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035143
Snippet name: deleteErroneousBinarySnippets - it seems text snippets are being put into the Binary Snippets directory...
Eternal ID of this version: #1035143/2
Text MD5: cd40ac429a978ba180ab45f71d1bf8b3
Transpilation MD5: 99c4fb3be7f7274485be9f1f72c863ff
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-31 17:55:56
Source code size: 160 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 192
Version history: 1 change(s)
Referenced in: [show references]