Libraryless. Click here for Pure Java version (4052L/24K).
1 | sS uniqueFileNameUsingMD5_80_v2(S fullName) {
|
2 | ret uniqueFileNameUsingMD5_80_v2(fullName, md5(fullName)); |
3 | } |
4 | |
5 | sS uniqueFileNameUsingMD5_80_v2(S fullName, S md5) {
|
6 | ret takeFirst(80-33, fileNameEncode(fullName)) + " - " + md5; |
7 | } |
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: | 666 / 831 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |