Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeaashu/claude-code
/ resetGitFileWatcher
Function
resetGitFileWatcher
src/utils/git/gitFilesystem.ts:585–587 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
583
584
/** Reset the git file watcher state. For testing only. */
585
export
function
resetGitFileWatcher(): void {
586
gitWatcher.reset()
587
}
588
589
/**
590
* Read the HEAD SHA
for
an arbitrary directory (not using the watcher).
Callers
nothing calls this directly
Calls
1
reset
Method · 0.65
Tested by
no test coverage detected