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

Method dir

src/node/services/bashMonitorWakeStore.ts:139–142  ·  view source on GitHub ↗
(ownerWorkspaceId: string)

Source from the content-addressed store, hash-verified

137 constructor(private readonly config: Pick<Config, "getSessionDir" | "sessionsDir">) {}
138
139 private dir(ownerWorkspaceId: string): string {
140 assert(ownerWorkspaceId.trim().length > 0, "BashMonitorWakeStore requires ownerWorkspaceId");
141 return path.join(this.config.getSessionDir(ownerWorkspaceId), BASH_MONITOR_WAKE_DIR);
142 }
143
144 static wakeId(processId: string): string {
145 assert(processId.trim().length > 0, "BashMonitorWakeStore.wakeId requires processId");

Callers 3

fileMethod · 0.95
listPendingMethod · 0.95
writeMethod · 0.95

Calls 2

getSessionDirMethod · 0.65
assertFunction · 0.50

Tested by

no test coverage detected