(owner: Owner)
| 19 | |
| 20 | /** Human label for an owner, for badges and toggles. */ |
| 21 | export function ownerLabel(owner: Owner): string { |
| 22 | return owner === "user" ? "Personal" : "Workspace"; |
| 23 | } |
| 24 | |
| 25 | /** Local/desktop are single-player hosts. The real partition there is the |
| 26 | * cwd-derived local workspace, so do not expose Personal/Workspace language. */ |
no outgoing calls
no test coverage detected