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

Safe HaskellNone
LanguageHaskell2010

Darcs.Patch.Prim.FileUUID.Core

Documentation

data Prim wX wY where Source #

Constructors

BinaryHunk :: !UUID -> Hunk wX wY -> Prim wX wY 
TextHunk :: !UUID -> Hunk wX wY -> Prim wX wY 
Manifest :: !UUID -> Location -> Prim wX wY 
Demanifest :: !UUID -> Location -> Prim wX wY 
Move :: !UUID -> Location -> Location -> Prim wX wY 
Identity :: Prim wX wX 

Instances

Show2 Prim Source # 

Methods

showDict2 :: ShowDict (Prim wX wY) Source #

MyEq Prim Source # 

Methods

unsafeCompare :: Prim wA wB -> Prim wC wD -> Bool Source #

(=\/=) :: Prim wA wB -> Prim wA wC -> EqCheck wB wC Source #

(=/\=) :: Prim wA wC -> Prim wB wC -> EqCheck wA wB Source #

PatchInspect Prim Source # 

Methods

listTouchedFiles :: Prim wX wY -> [FilePath] Source #

hunkMatches :: (ByteString -> Bool) -> Prim wX wY -> Bool Source #

Invert Prim Source # 

Methods

invert :: Prim wX wY -> Prim wY wX Source #

IsHunk Prim Source # 

Methods

isHunk :: Prim wX wY -> Maybe (FileHunk wX wY) Source #

PrimConstruct Prim Source # 
PrimClassify Prim Source # 
Show1 (Prim wX) Source # 

Methods

showDict1 :: ShowDict (Prim wX wX) Source #

Eq (Prim wX wY) Source # 

Methods

(==) :: Prim wX wY -> Prim wX wY -> Bool #

(/=) :: Prim wX wY -> Prim wX wY -> Bool #

Show (Prim wX wY) Source # 

Methods

showsPrec :: Int -> Prim wX wY -> ShowS #

show :: Prim wX wY -> String #

showList :: [Prim wX wY] -> ShowS #

type ApplyState Prim Source # 
type PrimOf Prim Source # 

data Hunk wX wY where Source #

Constructors

Hunk :: !Int -> ByteString -> ByteString -> Hunk wX wY 

Instances

Show2 Hunk Source # 

Methods

showDict2 :: ShowDict (Hunk wX wY) Source #

MyEq Hunk Source # 

Methods

unsafeCompare :: Hunk wA wB -> Hunk wC wD -> Bool Source #

(=\/=) :: Hunk wA wB -> Hunk wA wC -> EqCheck wB wC Source #

(=/\=) :: Hunk wA wC -> Hunk wB wC -> EqCheck wA wB Source #

Show1 (Hunk wX) Source # 

Methods

showDict1 :: ShowDict (Hunk wX wX) Source #

Show (Hunk wX wY) Source # 

Methods

showsPrec :: Int -> Hunk wX wY -> ShowS #

show :: Hunk wX wY -> String #

showList :: [Hunk wX wY] -> ShowS #

newtype UUID Source #

Constructors

UUID ByteString 

Instances

Eq UUID Source # 

Methods

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

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

Ord UUID Source # 

Methods

compare :: UUID -> UUID -> Ordering #

(<) :: UUID -> UUID -> Bool #

(<=) :: UUID -> UUID -> Bool #

(>) :: UUID -> UUID -> Bool #

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

max :: UUID -> UUID -> UUID #

min :: UUID -> UUID -> UUID #

Show UUID Source # 

Methods

showsPrec :: Int -> UUID -> ShowS #

show :: UUID -> String #

showList :: [UUID] -> ShowS #

touches :: Prim wX wY -> [UUID] Source #