Safe Haskell | None |
---|
Darcs.Repository.HashedRepo
- 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 ()
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 ()
copySources
copies the prefs/sources file to the local repo, from the
remote, having first filtered the local filesystem sources.
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)]
'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).