Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2026 Changes in this version + func ParseTaskBlocks(lines []string) []entity.TaskBlock + func RemoveBlocksFromLines(lines []string, blocks []entity.TaskBlock) []string + func RemoveEmptySections(content string) (string, int) + func TruncateString(s string, maxLen int) string + func WriteArchive(prefix, heading, content string) (string, error) + type CompactResult struct + ArchivableBlocks []entity.TaskBlock + SectionFileUpdates []fileUpdate + SectionsCleaned []sectionClean + TasksFileUpdate *fileUpdate + TasksMoved []string + TasksSkipped []string + func CompactContext(ctx *entity.Context) *CompactResult + func (r *CompactResult) TotalChanges() int