Safe Haskell | Safe-Infered |
---|
- revertTentativeChanges :: IO ()
- finalizeTentativeChanges :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> Compression -> IO ()
- cleanPristine :: Repository p r u t -> IO ()
- copyPristine :: Cache -> Compression -> String -> String -> IO ()
- copyPartialsPristine :: FilePathLike fp => Cache -> Compression -> String -> String -> [fp] -> IO ()
- applyToTentativePristine :: (ApplyState q ~ Tree, Patchy q) => q x y -> IO ()
- addToSpecificInventory :: RepoPatch p => String -> Cache -> Compression -> PatchInfoAnd p x y -> IO FilePath
- addToTentativeInventory :: RepoPatch p => Cache -> Compression -> PatchInfoAnd p x y -> IO FilePath
- removeFromTentativeInventory :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> Compression -> FL (PatchInfoAnd p) x t -> IO ()
- readRepo :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> String -> IO (PatchSet p Origin r)
- readTentativeRepo :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> String -> IO (PatchSet p Origin t)
- readRepoUsingSpecificInventory :: (RepoPatch p, ApplyState p ~ Tree) => String -> Repository p r u t -> String -> IO (PatchSet p Origin s)
- writeAndReadPatch :: RepoPatch p => Cache -> Compression -> PatchInfoAnd p x y -> IO (PatchInfoAnd p x y)
- writeTentativeInventory :: RepoPatch p => Cache -> Compression -> PatchSet p Origin x -> IO ()
- copyRepo :: RepoPatch p => Repository p r u t -> RemoteDarcs -> String -> IO ()
- readHashedPristineRoot :: Repository p r u t -> IO (Maybe String)
- pris2inv :: String -> ByteString -> Doc
- copySources :: RepoPatch p => Repository p r u t -> String -> IO ()
- listInventories :: IO [String]
- writePatchIfNecessary :: RepoPatch p => Cache -> Compression -> PatchInfoAnd p x y -> IO (PatchInfo, String)
- readRepoFromInventoryList :: (RepoPatch p, ApplyState p ~ Tree) => Cache -> (Maybe String, [(PatchInfo, String)]) -> IO (SealedPatchSet p Origin)
- readPatchIds :: ByteString -> [(PatchInfo, String)]
Documentation
finalizeTentativeChanges :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> Compression -> IO ()Source
cleanPristine :: Repository p r u t -> IO ()Source
copyPristine :: Cache -> Compression -> String -> String -> IO ()Source
copyPartialsPristine :: FilePathLike fp => Cache -> Compression -> String -> String -> [fp] -> IO ()Source
applyToTentativePristine :: (ApplyState q ~ Tree, Patchy q) => q x y -> IO ()Source
addToSpecificInventory :: RepoPatch p => String -> Cache -> Compression -> PatchInfoAnd p x y -> IO FilePathSource
addToTentativeInventory :: RepoPatch p => Cache -> Compression -> PatchInfoAnd p x y -> IO FilePathSource
removeFromTentativeInventory :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> Compression -> FL (PatchInfoAnd p) x t -> IO ()Source
readRepo :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> String -> IO (PatchSet p Origin r)Source
readTentativeRepo :: (RepoPatch p, ApplyState p ~ Tree) => Repository p r u t -> String -> IO (PatchSet p Origin t)Source
readRepoUsingSpecificInventory :: (RepoPatch p, ApplyState p ~ Tree) => String -> Repository p r u t -> String -> IO (PatchSet p Origin s)Source
writeAndReadPatch :: RepoPatch p => Cache -> Compression -> PatchInfoAnd p x y -> IO (PatchInfoAnd p x y)Source
writeTentativeInventory :: RepoPatch p => Cache -> Compression -> PatchSet p Origin x -> IO ()Source
copyRepo :: RepoPatch p => Repository p r u t -> RemoteDarcs -> String -> IO ()Source
readHashedPristineRoot :: Repository p r u t -> IO (Maybe String)Source
pris2inv :: String -> ByteString -> DocSource
copySources :: RepoPatch p => Repository p r u t -> String -> IO ()Source
copySources
copies the prefs/sources file to the local repo, from the
remote, having first filtered the local filesystem sources.
writePatchIfNecessary :: RepoPatch p => Cache -> Compression -> PatchInfoAnd p x y -> IO (PatchInfo, String)Source
readRepoFromInventoryList :: (RepoPatch p, ApplyState p ~ Tree) => Cache -> (Maybe String, [(PatchInfo, String)]) -> IO (SealedPatchSet p Origin)Source
readPatchIds :: ByteString -> [(PatchInfo, String)]Source
'readPatchIds inventory' parses the content of a hashed_inventory file after the pristine: and Starting with inventory: header lines have been removed. The second value in the resulting tuples is the file hash of the associated patch (the hash: line).