| ; | |
| module.exports.mixin = function mixin(target, source) { | |
| const keys = Object.getOwnPropertyNames(source); | |
| for (let i = 0; i < keys.length; ++i) { | |
| Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); | |
| } | |
| }; | |
| module.exports.wrapperSymbol = Symbol("wrapper"); | |
| module.exports.implSymbol = Symbol("impl"); | |
| module.exports.wrapperForImpl = function (impl) { | |
| return impl[module.exports.wrapperSymbol]; | |
| }; | |
| module.exports.implForWrapper = function (wrapper) { | |
| return wrapper[module.exports.implSymbol]; | |
| }; | |
Xet Storage Details
- Size:
- 562 Bytes
- Xet hash:
- 8984885cb8e31e0aa6b1c51176e9e65ff5e111619c0481ece5ae07c1c96a2f0b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.