Safe Haskell | None |
---|---|
Language | Haskell2010 |
Custom fpco conversion of Haskell values to a JSON Fay value.
- encodeFpco :: GenericQ Value
- decodeFpco :: Data a => Value -> Either String a
- validFileName :: ByteString -> Either String FileName
- validateFilePath :: ByteString -> Either String ByteString
Documentation
validateFilePath :: ByteString -> Either String ByteString Source
Cannonicalizes and validates filepaths. See #1643.