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

2
LINES

< > BotCompany Repo | #1007388 // fileLength - synonym of getFileSize - return file size or 0 if not exists

JavaX fragment (include)

static long fileLength(S path) { ret getFileSize(path); }
static long fileLength(File f) { ret getFileSize(f); }

Author comment

Began life as a copy of #1001670

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007388
Snippet name: fileLength - synonym of getFileSize - return file size or 0 if not exists
Eternal ID of this version: #1007388/1
Text MD5: 53785b8c9d475b9a3dc07fe102ea91f5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-21 11:24:01
Source code size: 115 bytes / 2 lines
Pitched / IR pitched: No / No
Views / Downloads: 614 / 644
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1007730 - fileSize - synonym of getFileSize - return file size or 0 if not exists