(command: string)
| 77 | // TODO: Stream full shell output into managed storage while retaining only a bounded in-memory preview. |
| 78 | |
| 79 | const shellTokens = (command: string) => command.match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g) ?? [] |
| 80 | const unquote = (value: string) => value.replace(/^(['"])(.*)\1$/, "$2") |
| 81 | const externalCommandDirectories = (command: string, cwd: string) => { |
| 82 | const directories = new Set<string>() |
no outgoing calls
no test coverage detected