(content: string, sectionName: string, newContent: string)
| 244 | * Update a specific section while preserving others |
| 245 | */ |
| 246 | export function updateSection(content: string, sectionName: string, newContent: string): string { |
| 247 | const task = parseTaskDocument(content); |
| 248 | task.sections[sectionName.toLowerCase()] = newContent; |
| 249 | return serializeTaskDocument(task); |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * Extract a specific section from task content |
nothing calls this directly
no test coverage detected
searching dependent graphs…