Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

[IGNORE] [test] Modify function return type #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Codec/RPM/Conduit.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ payloadC = awaitForever (yield . rpmArchive)

-- | Extract the package payload from an 'RPM', decompress it, and return each element of
-- the payload as a 'Data.CPIO.Entry'.
payloadContentsC :: (MonadResource m, MonadThrow m) => Conduit RPM m Entry
payloadContentsC :: (MonadResource m, MonadThrow m) => Conduit RPM m C.ByteString
payloadContentsC = payloadC
.| decompress Nothing
.| readCPIO