(ownerWorkspaceId: string)
| 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"); |
no test coverage detected