MCPcopy
hub / github.com/coder/mux / file

Method file

src/node/services/bashMonitorWakeStore.ts:149–151  ·  view source on GitHub ↗
(ownerWorkspaceId: string, id: string)

Source from the content-addressed store, hash-verified

147 }
148
149 private file(ownerWorkspaceId: string, id: string): string {
150 return path.join(this.dir(ownerWorkspaceId), `${encodeURIComponent(id)}.json`);
151 }
152
153 async enqueueOrMergePending(payload: BashMonitorWakePayload): Promise<BashMonitorWakeRecord> {
154 assert(payload.workspaceId.trim().length > 0, "enqueueOrMergePending requires workspaceId");

Callers 7

getMethod · 0.95
writeMethod · 0.95
run.test.tsFile · 0.45
waitForPreferenceFileFunction · 0.45
getOpenFolderUriFunction · 0.45
openWorkspaceFunction · 0.45

Calls 1

dirMethod · 0.95

Tested by 1

waitForPreferenceFileFunction · 0.36