shithub: furgit

Download patch

ref: f44d25efe89148b7c7c50444da692fa7d93fe5f2
parent: 516c47ecf78576c3bc8b1095e822a22cff42f17f
author: Runxi Yu <me@runxiyu.org>
date: Fri Jan 30 05:00:55 EST 2026

diffbytes: Add comments for BytesDiffChunkKind enums

--- a/diffbytes.go
+++ b/diffbytes.go
@@ -213,7 +213,10 @@
 type BytesDiffChunkKind int
 
 const (
+	// BytesDiffChunkKindUnchanged represents an unchanged diff chunk.
 	BytesDiffChunkKindUnchanged BytesDiffChunkKind = iota
+	// BytesDiffChunkKindDeleted represents a deleted diff chunk.
 	BytesDiffChunkKindDeleted
+	// BytesDiffChunkKindAdded represents an added diff chunk.
 	BytesDiffChunkKindAdded
 )
--