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

6
LINES

< > BotCompany Repo | #1020000 // localSnippetTitle

JavaX fragment (include)

sS localSnippetTitle(S snippetID) {
  if (!isLocalSnippetID(snippetID)) null;
  File f = localSnippetFile(snippetID);
  if (!f.exists()) null;
  ret or2(getFileInfoField(dropExtension(f), "Title"), "Unnamed");
}

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: #1020000
Snippet name: localSnippetTitle
Eternal ID of this version: #1020000/1
Text MD5: 65ea7d80e841ed5d5177ed439c572a34
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-03 21:48:49
Source code size: 216 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 415
Referenced in: [show references]