make adding modified files work on crippled filesystems
This commit is contained in:
parent
c2b8db3e69
commit
52902c0945
3 changed files with 18 additions and 2 deletions
5
Seek.hs
5
Seek.hs
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue