summaryrefslogtreecommitdiff
path: root/src/Erebos/Storage/Backend.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-10-27 22:08:47 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2026-11-06 21:06:49 +0100
commite0762612e95b0816721165c5aba6189809fcde58 (patch)
tree57a2b7eed322086e6e19bfa652798d3dceceb6f6 /src/Erebos/Storage/Backend.hs
parent0bb8daa7da52240a971a4ce83d97cfb62971ea78 (diff)
ByteString conversion classes
Diffstat (limited to 'src/Erebos/Storage/Backend.hs')
-rw-r--r--src/Erebos/Storage/Backend.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Erebos/Storage/Backend.hs b/src/Erebos/Storage/Backend.hs
index 07bd63e..c802d95 100644
--- a/src/Erebos/Storage/Backend.hs
+++ b/src/Erebos/Storage/Backend.hs
@@ -18,10 +18,10 @@ module Erebos.Storage.Backend (
import Control.Concurrent.MVar
-import Data.ByteArray qualified as BA
import Data.ByteString (ByteString)
import Data.HashTable.IO qualified as HT
+import ConvertByteString
import Erebos.Object.Internal
import Erebos.Storage.Internal
@@ -37,4 +37,4 @@ withStorageBackend Storage {..} f = f stBackend
refDigestBytes :: RefDigest -> ByteString
-refDigestBytes = BA.convert
+refDigestBytes = toByteString