From a964e32d92c53a47ce7c46d589a18c62133b8c50 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Wed, 17 Feb 2016 00:24:31 +0100 Subject: storages: memory object --- core/hash.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/hash.go') diff --git a/core/hash.go b/core/hash.go index 0b6f274..9b30b6e 100644 --- a/core/hash.go +++ b/core/hash.go @@ -9,6 +9,9 @@ import ( // Hash SHA1 hased content type Hash [20]byte +// ZeroHash is Hash with value zero +var ZeroHash Hash + // ComputeHash compute the hash for a given ObjectType and content func ComputeHash(t ObjectType, content []byte) Hash { h := t.Bytes() -- cgit