diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-20 14:12:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-20 14:12:55 -0400 |
commit | b2a46e18236e7cc8ff864bc4fed3b190efb161e5 (patch) | |
tree | 401e26f43c812ad30e9d5aa376c219f485bf2f24 /Seek.hs | |
parent | 27c02b4732c8087ba7d123f49ea2c10c7366cd4a (diff) |
make adding modified files work on crippled filesystems
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 |