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

10
LINES

< > BotCompany Repo | #1003967 // allChatLogs

JavaX fragment (include)

1  
// TODO: scans all data directories completely...
2  
static L<File> allChatLogs() {
3  
  L<File> files = allDataFilesNamed("log.txt");
4  
  new L<File> l;
5  
  for (File f : files) pcall {
6  
    if (f.isFile() && isProbableChatLog(f))
7  
      l.add(f);
8  
  }
9  
  ret l;
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003967
Snippet name: allChatLogs
Eternal ID of this version: #1003967/1
Text MD5: 8f675ea7b3fe43756cbbe4105570e11a
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-31 23:10:03
Source code size: 260 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 618 / 575
Referenced in: [show references]