Warning: session_start(): open(/var/lib/php/sessions/sess_13upo5vfpt55iqnnhnmfrgm03d, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
deleteErroneousBinarySnippets - it seems text snippets are being put into the Binary Snippets directory... [1035143]

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

svoid deleteErroneousBinarySnippets() {
  for (File f : listFilesOnly(getGlobalCache()))
    if (startsWithDigit(fileName(f)))
      deleteFileVerbose(f);
}

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: 561 / 687
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)