darcs-2.4: a distributed, interactive, smart revision control systemContentsIndex
Darcs.Repository.HashedIO
Synopsis
type HashedIO r p = StateT (HashDir r p) IO
applyHashed :: Patchy q => Cache -> [DarcsFlag] -> String -> q -> IO String
copyHashed :: String -> Cache -> Compression -> String -> IO ()
copyPartialsHashed :: FilePathLike fp => Cache -> Compression -> String -> [fp] -> IO ()
listHashedContents :: String -> Cache -> String -> IO [String]
slurpHashedPristine :: Cache -> Compression -> String -> IO Slurpy
writeHashedPristine :: Cache -> Compression -> Slurpy -> IO String
clean_hashdir :: Cache -> HashedDir -> [String] -> IO ()
Documentation
type HashedIO r p = StateT (HashDir r p) IO
applyHashed :: Patchy q => Cache -> [DarcsFlag] -> String -> q -> IO String
copyHashed :: String -> Cache -> Compression -> String -> IO ()
copyPartialsHashed :: FilePathLike fp => Cache -> Compression -> String -> [fp] -> IO ()
listHashedContents :: String -> Cache -> String -> IO [String]
Seems to list all hashes reachable from root.
slurpHashedPristine :: Cache -> Compression -> String -> IO Slurpy
Create a Slurpy representing the pristine content determined by the supplied root hash (which uniquely determines the pristine tree)
writeHashedPristine :: Cache -> Compression -> Slurpy -> IO String
Write contents of a Slurpy into hashed pristine. Only files that have not not yet been hashed (that is, the hash corresponding to their content is already present in hashed pristine) will be written out, so it is efficient to use this function to update existing pristine cache. Note that the pristine root hash will *not* be updated. You need to do that manually.
clean_hashdir :: Cache -> HashedDir -> [String] -> IO ()
Produced by Haddock version 2.6.0