public static void copyFileIfSizeDifferent(File src, File dest) { if (fileSize(src) != fileSize(dest)) copyFile(src, dest); }
Began life as a copy of #1000843
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: | #1016193 |
Snippet name: | copyFileIfSizeDifferent |
Eternal ID of this version: | #1016193/1 |
Text MD5: | 8a0e93a3a506eb13b12de2232e703df3 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-10 00:51:38 |
Source code size: | 134 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 388 / 401 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |