Skip to content

Commit 8293486

Browse files
committed
Add a couple of TODOs into related code
Noticed while refactoring
1 parent 301357a commit 8293486

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Database/LSMTree/Internal/CRC32C.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
-- * Support for verifying checksums of files.
1414
-- * Support for a text file format listing file checksums.
1515
--
16+
-- TODO: specialise all the functions here to IO
1617
module Database.LSMTree.Internal.CRC32C (
1718

1819
CRC32C(..),

src/Database/LSMTree/Internal/RunBuilder.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ copyBlob ::
285285
copyBlob builder@RunBuilder {..} blobref = do
286286
blob <- BlobRef.readRawBlobRef runBuilderHasFS blobref
287287
writeBlob builder blob
288+
--TODO: consier adding write blob functions to BlobFile
289+
-- variants: at offset, at file pointer with CRC update.
288290

289291
{-# SPECIALISE writeFilter ::
290292
RunBuilder IO h

0 commit comments

Comments
 (0)