1 | sbool fileIsNewerThanOtherFile(File a, File b) { |
2 | ret fileExists(a) && fileExists(b) && a.lastModified() > b.lastModified(); |
3 | } |
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: | 345 / 380 |
Referenced in: | [show references] |