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

3
LINES

< > BotCompany Repo | #1036417 // fileAttributes

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

Libraryless. Click here for Pure Java version (9951L/54K).

static java.nio.file.attribute.BasicFileAttributes fileAttributes(File etc f) ctex {
  ret f == null ?: java.nio.file.Files.readAttributes(f.toPath(), java.nio.file.attribute.BasicFileAttributes.class);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036417
Snippet name: fileAttributes
Eternal ID of this version: #1036417/6
Text MD5: a96d51e399a2f2f8671f94142fc84871
Transpilation MD5: d75193cb74e2c9cf1a813b6b0f28dbe9
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-11 16:03:43
Source code size: 206 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 63 / 109
Version history: 5 change(s)
Referenced in: [show references]