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

7
LINES

< > BotCompany Repo | #1016306 // desktopDir - seems accurate for all 3 OSes

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3305L/18K).

static File desktopDir() {
  ret userDir_oneOf_createFirstIfNone("Desktop", "Schreibtisch");
}

static File desktopDir(S sub) {
  ret newFile(desktopDir(), sub);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016306
Snippet name: desktopDir - seems accurate for all 3 OSes
Eternal ID of this version: #1016306/3
Text MD5: 6d347b4d8d9575288ae733d0fb531100
Transpilation MD5: 79b5ca641f9dcc0097a4b599cab4e265
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-25 13:22:20
Source code size: 169 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 520
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016689 - downloadsDir - just a guess