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

7
LINES

< > BotCompany Repo | #1022656 // namesOfLocalPublicMechListCopies

JavaX fragment (include)

static LS namesOfLocalPublicMechListCopies() {
  ret mapNonNulls_pcall(f -> {
    Map meta = safeUnstructMap(loadTextFile(f));
    ret !cic(getString Status(meta), "PUBLIC READ") ? null : getString Name(meta);
  },
    listFilesWithExtension(remoteMechListMirrorsDir(), ".meta"));
}

Author comment

Began life as a copy of #1017558

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022656
Snippet name: namesOfLocalPublicMechListCopies
Eternal ID of this version: #1022656/3
Text MD5: 880ec834890fec8338cc4410c7d1666d
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-27 17:13:45
Source code size: 288 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 194 / 240
Version history: 2 change(s)
Referenced in: [show references]