MCPcopy Index your code
hub / github.com/codeaashu/claude-code / reset

Method reset

src/utils/git/gitFilesystem.ts:488–495  ·  view source on GitHub ↗

Reset all state. Stops file watchers. For testing only.

()

Source from the content-addressed store, hash-verified

486
487 /** Reset all state. Stops file watchers. For testing only. */
488 reset(): void {
489 this.stopWatching()
490 this.cache.clear()
491 this.initialized = false
492 this.initPromise = null
493 this.gitDir = null
494 this.commonDir = null
495 }
496}
497
498const gitWatcher = new GitFileWatcher()

Callers

nothing calls this directly

Calls 2

stopWatchingMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected