PHP 8.2.30
Preview: cache.js Size: 409 B
/opt/alt/alt-nodejs10/root/lib/node_modules/npm/node_modules/har-validator/node_modules/ajv/lib/cache.js

'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 = {};
};

Directory Contents

Dirs: 4 × Files: 6

Name Size Perms Modified Actions
compile DIR
- drwxr-xr-x 2024-03-03 22:41:29
Edit Download
dot DIR
- drwxr-xr-x 2024-03-03 22:41:29
Edit Download
dotjs DIR
- drwxr-xr-x 2024-03-03 22:41:29
Edit Download
refs DIR
- drwxr-xr-x 2024-03-03 22:41:29
Edit Download
12.91 KB lrw-r--r-- 2023-03-22 10:59:08
Edit Download
15.47 KB lrw-r--r-- 2023-03-22 10:59:08
Edit Download
409 B lrw-r--r-- 2023-03-22 10:59:08
Edit Download
1.02 KB lrw-r--r-- 2023-03-22 10:59:08
Edit Download
872 B lrw-r--r-- 2023-03-22 10:59:08
Edit Download
3.82 KB lrw-r--r-- 2023-03-22 10:59:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).