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

Darcs.PopulationData

Synopsis

Documentation

data Population Source

the population of a darcs repository (simpler Slurpy)

Constructors

Pop 

Fields

popState :: PatchInfo

the state when last modified

popTree :: PopTree

the directory listing

data PopTree Source

directory listing

Constructors

PopDir !Info ![PopTree] 
PopFile !Info 

data Info Source

Constructors

Info 

Fields

nameI :: !ByteString

name of the element

modifiedByI :: !PatchInfo

last patch modifying this element

modifiedHowI :: !DirMark

how was it modified

createdByI :: !(Maybe PatchInfo)

this can be unknown when restored backwards!

creationNameI :: !(Maybe ByteString)

the original name of the element

Instances

notModified :: Info -> BoolSource

was an Info record not modified?

setState :: Info -> PatchInfo -> InfoSource

set the modifier for an Info record

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.