diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2020-12-20 21:47:22 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2020-12-23 22:32:09 +0100 |
commit | 36b9a1ddbddf1477c61809d340cd0b86360a7a83 (patch) | |
tree | 7b327df1b1635270e98391ec1cf63478b8730793 /src/Storage/Internal.hs | |
parent | 0c4c6618d43a8b7179f11b8edb1f289169b5f2bc (diff) |
Network: STM-based synchronization rewrite
Diffstat (limited to 'src/Storage/Internal.hs')
-rw-r--r-- | src/Storage/Internal.hs | 3 |
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) |