darcs-2.18.4: a distributed, interactive, smart revision control system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Darcs.Patch.Index.Types

Synopsis

Documentation

data FileId Source #

The FileId for a file consists of the FilePath (creation name) and an index. The index denotes how many files with the same name have been added before (and subsequently deleted or moved)

Constructors

FileId 

Fields

Instances

Instances details
Show FileId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

Binary FileId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

Methods

put :: FileId -> Put #

get :: Get FileId #

putList :: [FileId] -> Put #

Eq FileId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

Methods

(==) :: FileId -> FileId -> Bool #

(/=) :: FileId -> FileId -> Bool #

Ord FileId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

showFileId :: FileId -> String Source #

Convert FileId to string

newtype PatchId Source #

The PatchId identifies a patch and can be created from a PatchInfo with makePatchname

Constructors

PID 

Fields

Instances

Instances details
Show PatchId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

Binary PatchId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

Methods

put :: PatchId -> Put #

get :: Get PatchId #

putList :: [PatchId] -> Put #

Eq PatchId Source # 
Instance details

Defined in Darcs.Patch.Index.Types

Methods

(==) :: PatchId -> PatchId -> Bool #

(/=) :: PatchId -> PatchId -> Bool #

Ord PatchId Source # 
Instance details

Defined in Darcs.Patch.Index.Types