diff options
author | Joey Hess <joeyh@joeyh.name> | 2014-12-16 15:26:13 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2014-12-16 15:26:13 -0400 |
commit | f3962d32f3b88ddb66ea564dbf0c3189047410b7 (patch) | |
tree | f1b3eb1d3c66ff338493968265bdae44762ef53f /Remote/Directory.hs | |
parent | 95418cc430284b65af13105f7c63da08908dd826 (diff) |
reformat
Diffstat (limited to 'Remote/Directory.hs')
-rw-r--r-- | Remote/Directory.hs | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/Remote/Directory.hs b/Remote/Directory.hs index b798ff07c..66a3de49f 100644 --- a/Remote/Directory.hs +++ b/Remote/Directory.hs @@ -46,32 +46,32 @@ gen r u c gc = do (retrieve dir chunkconfig) (simplyPrepare $ remove dir) (simplyPrepare $ checkKey dir chunkconfig) - Remote { - uuid = u, - cost = cst, - name = Git.repoDescribe r, - storeKey = storeKeyDummy, - retrieveKeyFile = retreiveKeyFileDummy, - retrieveKeyFileCheap = retrieveCheap dir chunkconfig, - removeKey = removeKeyDummy, - checkPresent = checkPresentDummy, - checkPresentCheap = True, - whereisKey = Nothing, - remoteFsck = Nothing, - repairRepo = Nothing, - config = c, - repo = r, - gitconfig = gc, - localpath = Just dir, - readonly = False, - availability = LocallyAvailable, - remotetype = remote, - mkUnavailable = gen r u c $ - gc { remoteAnnexDirectory = Just "/dev/null" }, - getInfo = return [("directory", dir)], - claimUrl = Nothing, - checkUrl = Nothing - } + Remote + { uuid = u + , cost = cst + , name = Git.repoDescribe r + , storeKey = storeKeyDummy + , retrieveKeyFile = retreiveKeyFileDummy + , retrieveKeyFileCheap = retrieveCheap dir chunkconfig + , removeKey = removeKeyDummy + , checkPresent = checkPresentDummy + , checkPresentCheap = True + , whereisKey = Nothing + , remoteFsck = Nothing + , repairRepo = Nothing + , config = c + , repo = r + , gitconfig = gc + , localpath = Just dir + , readonly = False + , availability = LocallyAvailable + , remotetype = remote + , mkUnavailable = gen r u c $ + gc { remoteAnnexDirectory = Just "/dev/null" } + , getInfo = return [("directory", dir)] + , claimUrl = Nothing + , checkUrl = Nothing + } where dir = fromMaybe (error "missing directory") $ remoteAnnexDirectory gc |