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

3
LINES

< > BotCompany Repo | #1019186 // fileIsInDir (directly)

JavaX fragment (include)

sbool fileIsInDir(File f, File dir) {
  ret eq(dirOfFile(f), dir);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019186
Snippet name: fileIsInDir (directly)
Eternal ID of this version: #1019186/1
Text MD5: bd1bf366ebc7956246a1bc5a1e69463d
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-27 13:32:41
Source code size: 70 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 376 / 411
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1022904 - fileIsUnderAbsolutePath