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

3
LINES

< > BotCompany Repo | #1020382 // fileIsNewerThanOtherFile - only true if both files exist

JavaX fragment (include)

sbool fileIsNewerThanOtherFile(File a, File b) {
  ret fileExists(a) && fileExists(b) && a.lastModified() > b.lastModified();
}

Author comment

Began life as a copy of #1020381

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: #1020382
Snippet name: fileIsNewerThanOtherFile - only true if both files exist
Eternal ID of this version: #1020382/1
Text MD5: 0df0cf674989a81ecfa47e1287694dbe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-18 12:52:54
Source code size: 129 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 344 / 379
Referenced in: [show references]