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

11
LINES

< > BotCompany Repo | #1020736 // isMarkedAsSrcLib

JavaX fragment (include)

sbool isMarkedAsSrcLib(S snippetID) {
  if (snippetID == null) false;
  
  ifndef NoResourceLoader
  IResourceLoader rl = vm_getResourceLoader();
  if (rl != null)
    ret isJavaxCompilableSnippetType(rl.getSnippetType(snippetID));
  endifndef
  
  ret fileExists(javaxCodeDir("srclibs/" + psI(snippetID));
}

Author comment

Began life as a copy of #1020735

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020736
Snippet name: isMarkedAsSrcLib
Eternal ID of this version: #1020736/6
Text MD5: 120a69c20e334db5a301b4a5f684aadd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-25 18:28:31
Source code size: 318 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 287 / 322
Version history: 5 change(s)
Referenced in: [show references]