'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 = {}; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
compile | Folder | 0755 |
|
|
dot | Folder | 0755 |
|
|
dotjs | Folder | 0755 |
|
|
refs | Folder | 0755 |
|
|
$data.js | File | 1.02 KB | 0644 |
|
ajv.d.ts | File | 11.68 KB | 0644 |
|
ajv.js | File | 15.55 KB | 0644 |
|
cache.js | File | 409 B | 0644 |
|
keyword.js | File | 3.56 KB | 0644 |
|
patternGroups.js | File | 947 B | 0644 |
|