diff options
Diffstat (limited to 'Seek.hs')
-rw-r--r-- | Seek.hs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -88,6 +88,11 @@ withFilesUnlocked' typechanged a params = do let unlockedfiles = liftIO $ filterM notSymlink typechangedfiles prepFiltered a unlockedfiles +{- Finds files that may be modified. -} +withFilesMaybeModified :: (FilePath -> CommandStart) -> CommandSeek +withFilesMaybeModified a params = + prepFiltered a $ seekHelper LsFiles.modified params + withKeys :: (Key -> CommandStart) -> CommandSeek withKeys a params = return $ map (a . parse) params where |