MCPcopy
hub / github.com/codeaashu/claude-code / isLockHeldLocally

Function isLockHeldLocally

src/utils/computerUse/computerUseLock.ts:130–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 * non-CU turns don't touch disk.
129 */
130export function isLockHeldLocally(): boolean {
131 return unregisterCleanup !== undefined
132}
133
134/**
135 * Try to acquire the computer-use lock for the current session.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected