Libraryless. Click here for Pure Java version (4052L/24K).
sS uniqueFileNameUsingMD5_80_v2(S fullName) { ret uniqueFileNameUsingMD5_80_v2(fullName, md5(fullName)); } sS uniqueFileNameUsingMD5_80_v2(S fullName, S md5) { ret takeFirst(80-33, fileNameEncode(fullName)) + " - " + md5; }
Began life as a copy of #1015172
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017047 |
Snippet name: | uniqueFileNameUsingMD5_80_v2 - unique even on Windows, maximum file name length=80 |
Eternal ID of this version: | #1017047/2 |
Text MD5: | aacbe8d72a117557da8ff4fa6cbca165 |
Transpilation MD5: | fa84bc37b10826a965784cf36dd98ea6 |
Author: | stefan |
Category: | javax / io |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-24 17:11:14 |
Source code size: | 234 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 405 / 508 |
Version history: | 1 change(s) |
Referenced in: | [show references] |