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

9
LINES

< > BotCompany Repo | #1004529 // getCacheProgramFile

JavaX fragment (include)

static File getCacheProgramFile(S progID, S fileName) {
  if (new File(fileName).isAbsolute())
    ret new File(fileName);
  ret new File(getCacheProgramDir(progID), fileName);
}

static File getCacheProgramFile(S fileName) {
  ret getCacheProgramFile(getProgramID(), fileName);
}

Author comment

Began life as a copy of #1001949

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1004529
Snippet name: getCacheProgramFile
Eternal ID of this version: #1004529/1
Text MD5: 74c0c756de0525901b4b525082eecf88
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-19 16:32:56
Source code size: 290 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 533 / 475
Referenced in: [show references]