- data Population
- patchChanges :: Prim -> [(String, DirMark)]
- applyToPop :: PatchInfo -> FL Prim -> Population -> Population
- getPopFrom :: FilePath -> PatchInfo -> IO Population
- setPopState :: PatchInfo -> Population -> Population
- data DirMark
- = AddedFile
- | RemovedFile
- | MovedFile String
- | ModifiedFile
- | DullFile
- | AddedDir
- | RemovedDir
- | MovedDir !String
- | DullDir
- getRepoPop :: FilePath -> IO Population
- getRepoPopVersion :: FilePath -> PatchInfo -> IO Population
- modified_to_xml :: Info -> Doc
- lookup_pop :: FilePath -> Population -> Maybe Population
- lookup_creation_pop :: PatchInfo -> FilePath -> Population -> Maybe Population
Documentation
data Population Source
the population of a darcs repository (simpler Slurpy)
patchChanges :: Prim -> [(String, DirMark)]Source
applyToPop :: PatchInfo -> FL Prim -> Population -> PopulationSource
getPopFrom :: FilePath -> PatchInfo -> IO PopulationSource
read the population from a given directory dirname
all folders and documents get the given time t
This needs to be here in order to avoid a circular dependency between Population and Pristine.
setPopState :: PatchInfo -> Population -> PopulationSource
info of a directory member
getRepoPop :: FilePath -> IO PopulationSource
get the pristine population from a repo
getRepoPopVersion :: FilePath -> PatchInfo -> IO PopulationSource
modified_to_xml :: Info -> DocSource
lookup_pop :: FilePath -> Population -> Maybe PopulationSource
lookup_creation_pop :: PatchInfo -> FilePath -> Population -> Maybe PopulationSource