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

Safe HaskellNone
LanguageHaskell2010

Darcs.Repository.Traverse

Synopsis

Documentation

cleanInventories :: Repository rt p wR wU wT -> IO () Source #

Remove unreferenced files in the inventories directory.

cleanPatches :: Repository rt p wR wU wT -> IO () Source #

Remove unreferenced files in the patches directory.

cleanPristine :: Repository rt p wR wU wT -> IO () Source #

Remove unreferenced entries in the pristine cache.

cleanRepository :: Repository rt p wR wU wT -> IO () Source #

diffHashLists :: [String] -> [String] -> [String] Source #

Set difference between two lists of hashes.

listInventories :: IO [String] Source #

Return a list of the inventories hashes. This function attempts to retrieve missing inventory files from the cache.

listInventoriesLocal :: IO [String] Source #

Return inventories hashes by following the head inventory. This function does not attempt to retrieve missing inventory files.

listInventoriesRepoDir :: String -> IO [String] Source #

Return a list of the inventories hashes. The argument repoDir is the directory of the repository from which we are going to read the head inventory file. The rest of hashed files are read from the global cache.

listPatchesLocalBucketed :: String -> String -> IO [String] Source #

listPatchesLocalBucketed is similar to listPatchesLocal, but it read the inventory directory under darcsDir in bucketed format.

specialPatches :: [FilePath] Source #

List of special patch files that may exist in the directory _darcspatches. We must not clean those.