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

Safe Haskell | Safe-Inferred
Language | Haskell2010

Darcs.Repository.Traverse

Synopsis

- cleanInventories :: Repository rt p wR wU wT -> IO ()
- cleanPatches :: Repository rt p wR wU wT -> IO ()
- cleanPristine :: Repository rt p wR wU wT -> IO ()
- cleanRepository :: Repository rt p wR wU wT -> IO ()
- diffHashLists :: [String] -> [String] -> [String]
- listInventories :: IO [String]
- listInventoriesLocal :: IO [String]
- listInventoriesRepoDir :: String -> IO [String]
- listPatchesLocalBucketed :: String -> String -> IO [String]
- specialPatches :: [FilePath]

# Documentation

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

Remove unreferenced files in the inventories directory.

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

Remove unreferenced files in the patches directory.

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

Remove unreferenced entries in the pristine cache.

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

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

Set difference between two lists of hashes.

listInventories :: IO [String] #

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

listInventoriesLocal :: IO [String] #

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

listInventoriesRepoDir :: String -> IO [String] #

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] #

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

specialPatches :: [FilePath] #

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