Something went wrong. Try again.
Monorepo for Tangled forked from tangled.org/core
Something went wrong. Try again.
patchutil: add tests for IsFormatPatch
Cover the sentinel-timestamp fast path, all two-header combinations for the heuristic path, the line-10 boundary, and false cases (empty, single line, plain diff, wrong timestamp, one header, headers beyond line 10). Signed-off-by: Matías Insaurralde <matias@insaurral.de>
Author Matías Insaurralde Committer Tangled Date (Apr 7, 2026, 7:41 AM UTC) Commit
Copy SHA
Parent eb118dda eb118ddade9fa112be4ac6502441ec5fd116639a