Make submission ids lower case
This commit is contained in:
parent
2a33895d69
commit
b6772a175b
@ -39,7 +39,7 @@ instance PathPiece UUID where
|
|||||||
|
|
||||||
instance (CI.FoldCase s, PathPiece s) => PathPiece (CI s) where
|
instance (CI.FoldCase s, PathPiece s) => PathPiece (CI s) where
|
||||||
fromPathPiece = fmap CI.mk . fromPathPiece
|
fromPathPiece = fmap CI.mk . fromPathPiece
|
||||||
toPathPiece = toPathPiece . CI.original
|
toPathPiece = toPathPiece . CI.foldedCase
|
||||||
|
|
||||||
instance {-# OVERLAPS #-} PathMultiPiece FilePath where
|
instance {-# OVERLAPS #-} PathMultiPiece FilePath where
|
||||||
fromPathMultiPiece = Just . unpack . intercalate "/"
|
fromPathMultiPiece = Just . unpack . intercalate "/"
|
||||||
@ -47,7 +47,7 @@ instance {-# OVERLAPS #-} PathMultiPiece FilePath where
|
|||||||
|
|
||||||
instance (CI.FoldCase s, PathMultiPiece s) => PathMultiPiece (CI s) where
|
instance (CI.FoldCase s, PathMultiPiece s) => PathMultiPiece (CI s) where
|
||||||
fromPathMultiPiece = fmap CI.mk . fromPathMultiPiece
|
fromPathMultiPiece = fmap CI.mk . fromPathMultiPiece
|
||||||
toPathMultiPiece = toPathMultiPiece . CI.original
|
toPathMultiPiece = toPathMultiPiece . CI.foldedCase
|
||||||
|
|
||||||
|
|
||||||
-- Generates CryptoUUID... and CryptoFileName... Datatypes
|
-- Generates CryptoUUID... and CryptoFileName... Datatypes
|
||||||
|
|||||||
Reference in New Issue
Block a user