MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / resetGitFileWatcher

Function resetGitFileWatcher

source code/utils/git/gitFilesystem.ts:587–589  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

585
586/** Reset the git file watcher state. For testing only. */
587export function resetGitFileWatcher(): void {
588 gitWatcher.reset()
589}
590
591/**
592 * Read the HEAD SHA for an arbitrary directory (not using the watcher).

Callers

nothing calls this directly

Calls 1

resetMethod · 0.65

Tested by

no test coverage detected