fix windows build
This commit is contained in:
parent
9f6b7d6258
commit
4c3178aadf
1 changed files with 3 additions and 3 deletions
|
@ -718,13 +718,13 @@ rsyncOrCopyFile rsyncparams src dest p =
|
||||||
where
|
where
|
||||||
sameDeviceIds a b = (==) <$> getDeviceId a <*> getDeviceId b
|
sameDeviceIds a b = (==) <$> getDeviceId a <*> getDeviceId b
|
||||||
getDeviceId f = deviceID <$> liftIO (getFileStatus $ parentDir f)
|
getDeviceId f = deviceID <$> liftIO (getFileStatus $ parentDir f)
|
||||||
docopy = liftIO $ watchFileSize dest p $
|
|
||||||
copyFileExternal CopyTimeStamps src dest
|
|
||||||
#endif
|
|
||||||
dorsync = do
|
dorsync = do
|
||||||
oh <- mkOutputHandler
|
oh <- mkOutputHandler
|
||||||
Ssh.rsyncHelper oh (Just p) $
|
Ssh.rsyncHelper oh (Just p) $
|
||||||
rsyncparams ++ [File src, File dest]
|
rsyncparams ++ [File src, File dest]
|
||||||
|
#endif
|
||||||
|
docopy = liftIO $ watchFileSize dest p $
|
||||||
|
copyFileExternal CopyTimeStamps src dest
|
||||||
|
|
||||||
commitOnCleanup :: Git.Repo -> Remote -> Annex a -> Annex a
|
commitOnCleanup :: Git.Repo -> Remote -> Annex a -> Annex a
|
||||||
commitOnCleanup repo r a = go `after` a
|
commitOnCleanup repo r a = go `after` a
|
||||||
|
|
Loading…
Reference in a new issue