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

Safe HaskellNone
LanguageHaskell2010

Darcs.Patch.Inspect

Documentation

class PatchInspect p where Source #

Minimal complete definition

listTouchedFiles, hunkMatches

Methods

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

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

Instances

PatchInspect Prim Source # 

Methods

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

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

PatchInspect Prim Source # 

Methods

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

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

PatchInspect DummyPatch Source # 
PatchInspect p => PatchInspect (RL p) Source # 

Methods

listTouchedFiles :: RL p wX wY -> [FilePath] Source #

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

PatchInspect p => PatchInspect (FL p) Source # 

Methods

listTouchedFiles :: FL p wX wY -> [FilePath] Source #

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

PatchInspect p => PatchInspect (Named p) Source # 

Methods

listTouchedFiles :: Named p wX wY -> [FilePath] Source #

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

PatchInspect (RebaseName p) Source # 
PatchInspect prim => PatchInspect (RepoPatchV2 prim) Source # 

Methods

listTouchedFiles :: RepoPatchV2 prim wX wY -> [FilePath] Source #

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

PatchInspect (PrimOf p) => PatchInspect (RebaseFixup p) Source # 
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseItem p) Source # 
(PrimPatchBase p, PatchInspect p) => PatchInspect (Suspended p) Source # 
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseChange p) Source # 
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseSelect p) Source # 
PatchInspect p => PatchInspect (LabelledPatch p) Source # 
PatchInspect p => PatchInspect (WrappedNamed rt p) Source # 

Methods

listTouchedFiles :: WrappedNamed rt p wX wY -> [FilePath] Source #

hunkMatches :: (ByteString -> Bool) -> WrappedNamed rt p wX wY -> Bool Source #

PatchInspect p => PatchInspect (PatchInfoAnd rt p) Source # 

Methods

listTouchedFiles :: PatchInfoAnd rt p wX wY -> [FilePath] Source #

hunkMatches :: (ByteString -> Bool) -> PatchInfoAnd rt p wX wY -> Bool Source #