converted 6 more threads
This commit is contained in:
parent
bad88e404a
commit
76768ad977
8 changed files with 350 additions and 370 deletions
|
@ -159,10 +159,10 @@ onAddSymlink file filestatus = go =<< liftAnnex (Backend.lookupFile file)
|
|||
ensurestaged link daemonstatus
|
||||
| scanComplete daemonstatus = addlink link
|
||||
| otherwise = case filestatus of
|
||||
Just s | changedrecently s -> liftIO noChange
|
||||
Just s | not (changedrecently s) -> liftIO noChange
|
||||
_ -> addlink link
|
||||
where
|
||||
changedrecently s = not $
|
||||
changedrecently s =
|
||||
afterLastDaemonRun (statusChangeTime s) daemonstatus
|
||||
|
||||
{- For speed, tries to reuse the existing blob for symlink target. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue