Buckets:
| ; | |
| module.exports = input => { | |
| const isExtendedLengthPath = /^\\\\\?\\/.test(input); | |
| const hasNonAscii = /[^\u0000-\u0080]+/.test(input); // eslint-disable-line no-control-regex | |
| if (isExtendedLengthPath || hasNonAscii) { | |
| return input; | |
| } | |
| return input.replace(/\\/g, '/'); | |
| }; | |
Xet Storage Details
- Size:
- 294 Bytes
- Xet hash:
- 097b19de8743d4c31a5e5ff07847a5f25bf4a5576baa0e04af6683ee9486e455
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.