Skip to content

Conversation

@wenkokke
Copy link
Collaborator

Moves the ChecksumHandle type to CRC32C to enable reuse (without exporting it from RunBuilder).

wenkokke added a commit that referenced this pull request Nov 14, 2024
import GHC.Exts
import qualified GHC.ForeignPtr as Foreign
import System.FS.API

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

and run stylish-haskell

Comment on lines 370 to 371
{-| $checksum-handles
A handle ('ChecksumHandle') that maintains a running CRC32 checksum.
-}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can leave out the |

writeBlob builder blob
--TODO: can't easily switch this to use BlobFile.writeBlob because
-- RunBuilder currently does everything uniformly with ChecksumHandle.
-- RunBuilder currently does everything uniformly with CRC.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably accidental

Suggested change
-- RunBuilder currently does everything uniformly with CRC.
-- RunBuilder currently does everything uniformly with ChecksumHandle.

@wenkokke wenkokke force-pushed the wenkokke/move-checksumhandle branch from e9c5a40 to e6bec5c Compare November 14, 2024 17:25
@wenkokke
Copy link
Collaborator Author

wenkokke commented Nov 14, 2024

Closing in favour of #472.

@wenkokke wenkokke closed this Nov 14, 2024
@wenkokke wenkokke deleted the wenkokke/move-checksumhandle branch July 9, 2025 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants