* Create a FileReader for Runtime-based access (supports SSH).
(runtime: Runtime)
| 60 | * Create a FileReader for Runtime-based access (supports SSH). |
| 61 | */ |
| 62 | function createRuntimeFileReader(runtime: Runtime): FileReader { |
| 63 | return { |
| 64 | readFile: (filePath: string) => readFileString(runtime, filePath), |
| 65 | }; |
| 66 | } |
| 67 | |
| 68 | type ReadInstructionFileResult = { exists: false } | { exists: true; file: InstructionFile | null }; |
| 69 |
no test coverage detected