Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data GetFileExtension = GetFileExtension {}
Documentation
data GetFileExtension Source #
Returns the extension of a file, guessed by its MIME type. Returns an empty string on failure. Can be called synchronously. Returns Text
Instances
ToJSON GetFileExtension Source # | |
Defined in TD.Query.GetFileExtension toJSON :: GetFileExtension -> Value # toEncoding :: GetFileExtension -> Encoding # toJSONList :: [GetFileExtension] -> Value # toEncodingList :: [GetFileExtension] -> Encoding # | |
Show GetFileExtension Source # | |
Defined in TD.Query.GetFileExtension showsPrec :: Int -> GetFileExtension -> ShowS # show :: GetFileExtension -> String # showList :: [GetFileExtension] -> ShowS # | |
Eq GetFileExtension Source # | |
Defined in TD.Query.GetFileExtension (==) :: GetFileExtension -> GetFileExtension -> Bool # (/=) :: GetFileExtension -> GetFileExtension -> Bool # | |
ShortShow GetFileExtension Source # | |
Defined in TD.Query.GetFileExtension shortShow :: GetFileExtension -> String Source # |