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

10
LINES

< > BotCompany Repo | #1020298 // isSymLink

JavaX fragment (include)

sbool isSymLink(File f) {
  ifdef Android
  ret false; // TODO: Android API level 26 seems to include java.nio
  endifdef
  ifndef Android
  import java.nio.file.Files;
  ret f != null && Files.isSymbolicLink(toPath(f));
  endifndef
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020298
Snippet name: isSymLink
Eternal ID of this version: #1020298/3
Text MD5: 317e0c89421f3455cf0e49544b91b1fe
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-09 12:37:08
Source code size: 244 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 353 / 365
Version history: 2 change(s)
Referenced in: [show references]