darcs-2.2.1: a distributed, interactive, smart revision control systemSource codeContentsIndex
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 ()
syncHashedPristine :: Cache -> Slurpy -> 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) IOSource
applyHashed :: Patchy q => Cache -> [DarcsFlag] -> String -> q -> IO StringSource
copyHashed :: String -> Cache -> Compression -> String -> IO ()Source
syncHashedPristine :: Cache -> Slurpy -> String -> IO ()Source
Update timestamps on pristine files to match those in the working directory (which is passed to this function in form of a Slurpy). It needed for the mtime-based unsafeDiff optimisation to work efficiently.
copyPartialsHashed :: FilePathLike fp => Cache -> Compression -> String -> [fp] -> IO ()Source
listHashedContents :: String -> Cache -> String -> IO [String]Source
Seems to list all hashes reachable from root.
slurpHashedPristine :: Cache -> Compression -> String -> IO SlurpySource
Create a Slurpy representing the pristine content determined by the supplied root hash (which uniquely determines the pristine tree)
writeHashedPristine :: Cache -> Compression -> Slurpy -> IO StringSource
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 ()Source
Produced by Haddock version 2.4.2