(name: string)
| 37 | function namedVolumeSource(mount: string): string | null { |
| 38 | const src = mount.split(":")[0] ?? ""; |
| 39 | return src && !src.startsWith(".") && !src.startsWith("/") ? src : null; |
| 40 | } |
| 41 | |
| 42 | // Render one DeployComponent to a compose service block, by a single uniform field |
| 43 | // mapping — NO branching on which component it is, so a custom component renders |
| 44 | // exactly like a first-party one. Component-specific knowledge lives in the |
no outgoing calls
no test coverage detected