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

Function assertValidWorkspaceTurnTaskId

src/node/services/taskHandleStore.ts:114–119  ·  view source on GitHub ↗
(handleId: string)

Source from the content-addressed store, hash-verified

112}
113
114function assertValidWorkspaceTurnTaskId(handleId: string): void {
115 assert(
116 isWorkspaceTurnTaskId(handleId),
117 "workspace turn handle IDs must use the wst_ prefix and safe filename characters"
118 );
119}
120
121export class TaskHandleStore {
122 constructor(private readonly config: Config) {}

Callers 2

getHandlePathMethod · 0.85
assertValidRecordMethod · 0.85

Calls 2

isWorkspaceTurnTaskIdFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected