summaryrefslogtreecommitdiff
path: root/src/Storage/Internal.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Storage/Internal.hs')
-rw-r--r--src/Storage/Internal.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Storage/Internal.hs b/src/Storage/Internal.hs
index e4e4f00..a625efb 100644
--- a/src/Storage/Internal.hs
+++ b/src/Storage/Internal.hs
@@ -71,6 +71,9 @@ data StorageBacking c
newtype RefDigest = RefDigest (Digest Blake2b_256)
deriving (Eq, Ord, NFData, ByteArrayAccess)
+instance Show RefDigest where
+ show = BC.unpack . showRefDigest
+
data Ref' c = Ref (Storage' c) RefDigest
deriving (Eq)