diff options
author | Joey Hess <joey@kitenet.net> | 2011-11-07 23:21:22 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-11-08 00:17:54 -0400 |
commit | b11a63a860e8446cf3a4b35a5d8ef76329d5135c (patch) | |
tree | c8ae0c94d6473a3ccc7b15bdbc72d5b5c6ae96b3 /Common | |
parent | fdf988be6d2b3bb931a9eb3dcf3fbb83b1fb8c17 (diff) |
clean up read/show abuse
Avoid ever using read to parse a non-haskell formatted input string.
show :: Key is arguably still show abuse, but displaying Keys as filenames
is just too useful to give up.
Diffstat (limited to 'Common')
-rw-r--r-- | Common/Annex.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Common/Annex.hs b/Common/Annex.hs index 43f1ea0af..f802ec253 100644 --- a/Common/Annex.hs +++ b/Common/Annex.hs @@ -1,6 +1,7 @@ module Common.Annex ( module Common, module Types, + module Types.UUID, module Annex, module Locations, module Messages, @@ -8,6 +9,7 @@ module Common.Annex ( import Common import Types +import Types.UUID (toUUID, fromUUID) import Annex (gitRepo) import Locations import Messages |