(
instructions: StateEditInstruction[]
)
| 394 | } |
| 395 | |
| 396 | async planEdits( |
| 397 | instructions: StateEditInstruction[] |
| 398 | ): Promise<StateEditPlan> { |
| 399 | return planTextEdits(instructions, async (path) => { |
| 400 | try { |
| 401 | return await this.readFile(path); |
| 402 | } catch (error) { |
| 403 | if (isEnoent(error)) return null; |
| 404 | throw error; |
| 405 | } |
| 406 | }); |
| 407 | } |
| 408 | |
| 409 | async applyEditPlan( |
| 410 | plan: StateEditPlan, |
nothing calls this directly
no test coverage detected