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

Safe HaskellNone
LanguageHaskell2010

Darcs.Patch.FileHunk

Documentation

data FileHunk wX wY Source #

class IsHunk p where Source #

Minimal complete definition

isHunk

Methods

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

Instances

IsHunk Prim Source # 

Methods

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

IsHunk Prim Source # 

Methods

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

IsHunk DummyPatch Source # 

Methods

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

IsHunk (Named p) Source # 

Methods

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

IsHunk prim => IsHunk (RepoPatchV2 prim) Source # 

Methods

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

IsHunk p => IsHunk (RebaseChange p) Source # 

Methods

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

IsHunk (WrappedNamed rt p) Source # 

Methods

isHunk :: WrappedNamed rt p wX wY -> Maybe (FileHunk wX wY) Source #

IsHunk (PatchInfoAnd rt p) Source # 

Methods

isHunk :: PatchInfoAnd rt p wX wY -> Maybe (FileHunk wX wY) Source #