(path: string, metadata: any)
| 355 | } |
| 356 | |
| 357 | setCache(path: string, metadata: any): void { |
| 358 | this.cache.set(path, metadata); |
| 359 | const file = new TFile(path); |
| 360 | this.emitter.emit('changed', file, '', metadata); |
| 361 | } |
| 362 | |
| 363 | deleteCache(path: string): void { |
| 364 | this.cache.delete(path); |