add a path field to remotes

Also broke out some helper functions around constructing remotes,
to be used later.
This commit is contained in:
Joey Hess 2012-07-22 13:48:50 -04:00
parent e4592649d6
commit 4ec9244f1a
10 changed files with 97 additions and 65 deletions

View file

@ -47,6 +47,7 @@ gen r _ _ =
hasKeyCheap = False,
whereisKey = Just getUrls,
config = Nothing,
path = Nothing,
repo = r,
remotetype = remote
}