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

3
LINES

< > BotCompany Repo | #1035694 // parentName - file name of file's parent

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

Libraryless. Click here for Pure Java version (52L/1K).

sS parentName(File f) {
  ret fileName(parentFile(f));
}

Author comment

Began life as a copy of #1024631

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035694
Snippet name: parentName - file name of file's parent
Eternal ID of this version: #1035694/1
Text MD5: 02f9aed1fb641b877524f493baa5e504
Transpilation MD5: 829efbed59c129d758fbab95bda97f04
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-09 20:39:54
Source code size: 58 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 63 / 84
Referenced in: [show references]