MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / handleFileDeleted

Method handleFileDeleted

src/utils/DependencyCache.ts:209–212  ·  view source on GitHub ↗

* Handle file deletion

(path: string)

Source from the content-addressed store, hash-verified

207 * Handle file deletion
208 */
209 private handleFileDeleted(path: string): void {
210 this.clearFileFromIndexes(path);
211 this.trigger(EVENT_DEPENDENCY_CACHE_CHANGED);
212 }
213
214 /**
215 * Handle file rename

Callers 1

setupEventListenersMethod · 0.95

Calls 2

clearFileFromIndexesMethod · 0.95
triggerMethod · 0.65

Tested by

no test coverage detected