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

Safe HaskellSafe-Infered

Darcs.Repository.HashedRepo

Synopsis

Documentation

copySources :: RepoPatch p => Repository p r u t -> String -> IO ()Source

copySources copies the prefs/sources file to the local repo, from the remote, having first filtered the local filesystem sources.

readPatchIds :: ByteString -> [(PatchInfo, String)]Source

'readPatchIds inventory' parses the content of a hashed_inventory file after the pristine: and Starting with inventory: header lines have been removed. The second value in the resulting tuples is the file hash of the associated patch (the hash: line).