darcs-2.16.1: a distributed, interactive, smart revision control system

Safe HaskellNone
LanguageHaskell2010

Darcs.Repository.Inventory

Synopsis

Documentation

pokePristineHash :: PristineHash -> ByteString -> Doc Source #

Replace the pristine hash at the start of a raw, unparsed HeadInventory or add it if none is present.

skipPristineHash :: ByteString -> ByteString Source #

skipPristineHash drops the 'pristine: HASH' prefix line, if present.