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).

1  
static File imagesDir() {
2  
  ret userDir_oneOf_createFirstIfNone(
3  
    "Pictures",
4  
    "OneDrive/Pictures",
5  
    "OneDrive/Bilder",
6  
    "Bilder");
7  
}
8  
9  
static File imagesDir(S sub) {
10  
  ret newFile(imagesDir(), sub);
11  
}

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: 261 / 366
Version history: 11 change(s)
Referenced in: [show references]