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

Safe HaskellNone
LanguageHaskell2010

Darcs.Repository.Inventory

Synopsis

Documentation

pokePristineHash :: String -> 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.