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

10
LINES

< > BotCompany Repo | #1003967 // allChatLogs

JavaX fragment (include)

// TODO: scans all data directories completely...
static L<File> allChatLogs() {
  L<File> files = allDataFilesNamed("log.txt");
  new L<File> l;
  for (File f : files) pcall {
    if (f.isFile() && isProbableChatLog(f))
      l.add(f);
  }
  ret l;
}

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: 548 / 505
Referenced in: [show references]