(file: string)
| 486 | |
| 487 | /** Inverse of `upsertInstructionsEntry`: strip the CodeGraph block from `file`, if it has one. */ |
| 488 | export function removeInstructionsEntry(file: string): { path: string; action: 'removed' | 'not-found' | 'kept' } { |
| 489 | return { path: file, action: removeMarkedSection(file, CODEGRAPH_SECTION_START, CODEGRAPH_SECTION_END) }; |
| 490 | } |
| 491 | |
| 492 | /** |
| 493 | * `content` with every well-formed marker block removed, or `null` when it |