From f44d25efe89148b7c7c50444da692fa7d93fe5f2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 30 Jan 2026 10:00:55 +0100 Subject: diffbytes: Add comments for BytesDiffChunkKind enums --- diffbytes.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'diffbytes.go') diff --git a/diffbytes.go b/diffbytes.go index e92e3d5f..2698bf55 100644 --- a/diffbytes.go +++ b/diffbytes.go @@ -213,7 +213,10 @@ type BytesDiffChunk struct { 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 ) -- cgit v1.3.1-10-gc9f91