download
raw
409 Bytes
'use strict';
var Cache = module.exports = function Cache() {
this._cache = {};
};
Cache.prototype.put = function Cache_put(key, value) {
this._cache[key] = value;
};
Cache.prototype.get = function Cache_get(key) {
return this._cache[key];
};
Cache.prototype.del = function Cache_del(key) {
delete this._cache[key];
};
Cache.prototype.clear = function Cache_clear() {
this._cache = {};
};

Xet Storage Details

Size:
409 Bytes
·
Xet hash:
9bd6e1f0b9eeba1dee011707e3af932de1c3ddf68dc92518d92fd343e93330c9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.