MCPcopy Index your code
hub / github.com/coder/mux / getOwnerHandleDir

Method getOwnerHandleDir

src/node/services/taskHandleStore.ts:219–222  ·  view source on GitHub ↗
(ownerWorkspaceId: string)

Source from the content-addressed store, hash-verified

217 }
218
219 private getOwnerHandleDir(ownerWorkspaceId: string): string {
220 assert(ownerWorkspaceId.trim().length > 0, "ownerWorkspaceId must be non-empty");
221 return path.join(this.config.getSessionDir(ownerWorkspaceId), TASK_HANDLES_DIR);
222 }
223
224 private getHandlePath(ownerWorkspaceId: string, handleId: string): string {
225 assert(handleId.trim().length > 0, "handleId must be non-empty");

Callers 3

upsertWorkspaceTurnMethod · 0.95
listWorkspaceTurnsMethod · 0.95
getHandlePathMethod · 0.95

Calls 2

getSessionDirMethod · 0.65
assertFunction · 0.50

Tested by

no test coverage detected