| darcs | Source code | Contents | Index

Darcs.Patch.Bundle

Synopsis

hash_bundle :: RepoPatch p => [PatchInfo] -> FL (Named p) -> String
make_bundle :: RepoPatch p => [DarcsFlag] -> Tree IO -> [PatchInfo] -> FL (Named p) -> IO Doc
make_bundle2 :: RepoPatch p => [DarcsFlag] -> Tree IO -> [PatchInfo] -> FL (Named p) -> FL (Named p) -> IO Doc
scan_bundle :: RepoPatch p => ByteString -> Either String (SealedPatchSet p)
make_context :: [PatchInfo] -> Doc
scan_context :: RepoPatch p => ByteString -> PatchSet p

Documentation

hash_bundle :: RepoPatch p => [PatchInfo] -> FL (Named p) -> String | Source

make_bundle :: RepoPatch p => [DarcsFlag] -> Tree IO -> [PatchInfo] -> FL (Named p) -> IO Doc | Source

make_bundle2 :: RepoPatch p => [DarcsFlag] -> Tree IO -> [PatchInfo] -> FL (Named p) -> FL (Named p) -> IO Doc | Source

In make_bundle2, it is presumed that the two patch sequences are identical, but that they may be lazily generated. If two different patch sequences are passed, a bundle with a mismatched hash will be generated, which is not the end of the world, but isn't very useful either.

scan_bundle :: RepoPatch p => ByteString -> Either String (SealedPatchSet p) | Source

make_context :: [PatchInfo] -> Doc | Source

scan_context :: RepoPatch p => ByteString -> PatchSet p | Source

Produced by Haddock version 2.4.2