MCPcopy Index your code
hub / github.com/21st-dev/1code / has

Method has

src/main/lib/git/watcher/git-watcher.ts:275–277  ·  view source on GitHub ↗

* Check if a watcher exists for the given worktree.

(worktreePath: string)

Source from the content-addressed store, hash-verified

273 * Check if a watcher exists for the given worktree.
274 */
275 has(worktreePath: string): boolean {
276 return this.watchers.has(worktreePath);
277 }
278
279 /**
280 * Dispose a specific watcher.

Callers 15

scanVSCodeThemesFunction · 0.45
createBranchesRouterFunction · 0.45
setMethod · 0.45
registerGitWatcherIPCFunction · 0.45
isAllowedVarFunction · 0.45
getListeningPortsLsofFunction · 0.45
getListeningPortsWindowsFunction · 0.45
scanAllSessionsMethod · 0.45
updatePortsForPaneMethod · 0.45
buildExtendedPathFunction · 0.45
getAllMcpConfigHandlerFunction · 0.45
claude.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected