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

11
LINES

< > BotCompany Repo | #1030135 // imagesDir - incomplete, may return null

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

Libraryless. Click here for Pure Java version (5183L/28K).

static File imagesDir() {
  ret userDir_oneOf_createFirstIfNone(
    "Pictures",
    "OneDrive/Pictures",
    "OneDrive/Bilder",
    "Bilder");
}

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

Author comment

Began life as a copy of #1019816

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt, wnsclhtenguj

No comments. add comment

Snippet ID: #1030135
Snippet name: imagesDir - incomplete, may return null
Eternal ID of this version: #1030135/12
Text MD5: 279845d621fb6f3a5fb8d4153141eb95
Transpilation MD5: 0f74cabc9bd2543df306cfaa55c09cea
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-06 02:34:51
Source code size: 222 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 186 / 274
Version history: 11 change(s)
Referenced in: [show references]