- hashBundle :: RepoPatch p => [PatchInfo] -> FL (Named p) -> String
- makeBundle :: RepoPatch p => Maybe (Tree IO) -> RL (PatchInfoAnd p) -> FL (Named p) -> IO Doc
- makeBundle2 :: RepoPatch p => Maybe (Tree IO) -> RL (PatchInfoAnd p) -> FL (Named p) -> FL (Named p) -> IO Doc
- makeBundleN :: RepoPatch p => Maybe (Tree IO) -> PatchSet p -> FL (Named p) -> IO Doc
- scanBundle :: RepoPatch p => ByteString -> Either String (SealedPatchSet p)
- contextPatches :: RepoPatch p => PatchSet p -> FlippedSeal (RL (PatchInfoAnd p))
- scanContext :: RepoPatch p => ByteString -> PatchSet p
- patchFilename :: String -> String
Documentation
makeBundle2 :: RepoPatch p => Maybe (Tree IO) -> RL (PatchInfoAnd p) -> FL (Named p) -> FL (Named p) -> IO DocSource
In makeBundle2, 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.
scanBundle :: RepoPatch p => ByteString -> Either String (SealedPatchSet p)Source
contextPatches :: RepoPatch p => PatchSet p -> FlippedSeal (RL (PatchInfoAnd p))Source
scanContext :: RepoPatch p => ByteString -> PatchSet pSource
patchFilename :: String -> StringSource