From d3d1205eb153c7cbd9df5373d537cb7a751643bc Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Sat, 28 Feb 2015 15:59:52 -0800 Subject: [PATCH] Updating comment describing data type --- pkg/storage/donut/v1/donut.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/storage/donut/v1/donut.go b/pkg/storage/donut/v1/donut.go index 9ae5f2070..03ce85962 100644 --- a/pkg/storage/donut/v1/donut.go +++ b/pkg/storage/donut/v1/donut.go @@ -35,11 +35,13 @@ import ( VersionPatch uint16 VersionReserved uint16 Reserved uint64 - GobHeaderLen uint32 - GobHeader io.Reader // matches length + DataLen uint64 + HeaderCrc32c uint32 BlockData [4]byte // Magic="DATA"=1096040772 Data io.Reader // matches length - BlockLen uint64 // length to block start + HeaderCrc32c uint32 + DataSha512 [64]byte + BlockLen uint64 // length of entire frame, inclusive of MINI and INIM BlockEnd [4]byte // Magic="INIM"=1296649801 */