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

Safe Haskell | None
Language | Haskell2010

Darcs.Repository.Traverse

Synopsis

- cleanRepository :: forall (p :: Type -> Type -> Type) wU wR. Repository 'RW p wU wR -> IO ()
- cleanPristineDir :: Cache -> [PristineHash] -> IO ()
- listInventories :: IO [String]
- listInventoriesRepoDir :: String -> IO [String]
- listPatchesLocalBucketed :: String -> String -> IO [String]
- specialPatches :: [FilePath]

# Documentation

cleanRepository :: forall (p :: Type -> Type -> Type) wU wR. Repository 'RW p wU wR -> IO () #

cleanPristineDir :: Cache -> [PristineHash] -> IO () #

listInventories :: IO [String] #

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

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.