1 | public static void copyFileIfSizeDifferent(File src, File dest) { |
2 | if (fileSize(src) != fileSize(dest)) |
3 | copyFile(src, dest); |
4 | } |
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: | 387 / 401 |
Referenced in: | [show references] |