()
| 4 | import pyReplHostWindows from '../../../.tmp/py_repl_host/ncode_py_repl_host.exe' with { type: 'file' } |
| 5 | |
| 6 | export function getBundledPythonReplHostAsset(): MaterializedAsset | null { |
| 7 | switch (process.platform) { |
| 8 | case 'win32': |
| 9 | return { |
| 10 | embeddedPath: pyReplHostWindows, |
| 11 | relativePath: 'vendor/py_repl_host/ncode_py_repl_host.exe', |
| 12 | } |
| 13 | case 'darwin': |
| 14 | case 'linux': |
| 15 | return { |
| 16 | embeddedPath: pyReplHostUnix, |
| 17 | relativePath: 'vendor/py_repl_host/ncode_py_repl_host', |
| 18 | mode: 0o755, |
| 19 | } |
| 20 | default: |
| 21 | return null |
| 22 | } |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected