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

8
LINES

< > BotCompany Repo | #1019994 // listLocalSnippets

JavaX fragment (include)

static L<Snippet> listLocalSnippets() {
  ret map(filesInDirWithExtension(localSnippetsDir(), ".text"), func(File f) -> Snippet {
    S id = fsI(parseFirstLong(f.getName()));
    Snippet s = new(id, getFileInfoField(f, "title"), md5OfFile(f));
    s.type = snippetTypeName(localSnippetType(id));
    ret s;
  });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019994
Snippet name: listLocalSnippets
Eternal ID of this version: #1019994/7
Text MD5: c220058746ba0115c92e1c492188f968
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-16 15:27:32
Source code size: 321 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 246 / 288
Version history: 6 change(s)
Referenced in: [show references]