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

Safe HaskellNone
LanguageHaskell2010

Darcs.Patch.Inspect

Documentation

class PatchInspect p where #

Minimal complete definition

listTouchedFiles, hunkMatches

Methods

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

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

Instances

PatchInspect Prim # 

Methods

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

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

PatchInspect Prim # 

Methods

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

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

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

Methods

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

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

PatchInspect p => PatchInspect (FL p) # 

Methods

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

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

PatchInspect p => PatchInspect (Named p) # 

Methods

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

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

PatchInspect (RebaseName p) # 

Methods

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

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

PatchInspect (PrimOf p) => PatchInspect (RebaseFixup p) # 

Methods

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

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

(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseItem p) # 

Methods

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

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

(PrimPatchBase p, PatchInspect p) => PatchInspect (Suspended p) # 

Methods

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

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

PatchInspect prim => PatchInspect (RepoPatchV2 prim) # 

Methods

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

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

PatchInspect p => PatchInspect (LabelledPatch p) # 
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseChange p) # 

Methods

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

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

(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseSelect p) # 

Methods

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

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

PatchInspect p => PatchInspect (WrappedNamed rt p) # 

Methods

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

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

PatchInspect p => PatchInspect (PatchInfoAnd rt p) # 

Methods

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

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