1 parent c266a06 commit 0ef0bf6Copy full SHA for 0ef0bf6
1 file changed
src/include/file-config.js
@@ -99,6 +99,13 @@ class fileConfig extends config {
99
if (!this.localExists()) fs.appendFileSync(this.local, '');
100
}
101
102
+ _cacheDelete(key) {
103
+ let file = Fs.join(this.dir, hash(key));
104
+ if (!fs.existsSync(file)) return false;
105
+
106
+ return fs.unlinkSync(file);
107
+ }
108
109
_cacheGet(key) {
110
let file = Fs.join(this.dir, hash(key));
111
if (!fs.existsSync(file)) return false;
0 commit comments