summaryrefslogtreecommitdiff
path: root/Hutch/Models/Patchset.swift
Commit message (Collapse)AuthorAgeFilesLines
* refactor: share the email body diff splitterChristian Cleberg2026-07-151-0/+132
segmentMessageBody and its helpers were private to ThreadViewModel, reachable from tests only through a segmentMessageBodyForTesting shim. Patchset review needs the same splitting, because sr.ht's Patch type carries no diff — the diff only exists inside the email body — so this has to be shared rather than duplicated. Moved to InboxThreadUtilities. The shim is gone; the existing test calls the real function directly now. Also adds the Patchset model layer that the coming views build on.