| Copyright | (c) Julian Ospald 2023-2024 |
|---|---|
| License | BSD3 |
| Maintainer | [email protected] |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
This module is only interesting when you are implementing low-level libraries based on OsPath API.
Usually you want System.File.OsPath.
openBinaryFile :: PlatformPath -> IOMode -> IO Handle Source
Like openBinaryFile, but takes a PlatformPath instead of an OsPath.
withFile :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source
Like withFile, but takes a PlatformPath instead of an OsPath.
withBinaryFile :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source
Like withBinaryFile, but takes a PlatformPath instead of an OsPath.
withFile' :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source
Like withFile', but takes a PlatformPath instead of an OsPath.
withBinaryFile' :: PlatformPath -> IOMode -> (Handle -> IO r) -> IO r Source
Like withBinaryFile', but takes a PlatformPath instead of an OsPath.
readFile :: PlatformPath -> IO ByteString Source
Like readFile, but takes a PlatformPath instead of an OsPath.
readFile' :: PlatformPath -> IO ByteString Source
Like readFile', but takes a PlatformPath instead of an OsPath.
writeFile :: PlatformPath -> ByteString -> IO () Source
Like writeFile, but takes a PlatformPath instead of an OsPath.
writeFile' :: PlatformPath -> ByteString -> IO () Source
Like writeFile', but takes a PlatformPath instead of an OsPath.
appendFile :: PlatformPath -> ByteString -> IO () Source
Like appendFile, but takes a PlatformPath instead of an OsPath.
appendFile' :: PlatformPath -> ByteString -> IO () Source
Like appendFile', but takes a PlatformPath instead of an OsPath.
openFile :: PlatformPath -> IOMode -> IO Handle Source
Like openFile, but takes a PlatformPath instead of an OsPath.
openExistingFile :: PlatformPath -> IOMode -> IO Handle Source
Like openExistingFile, but takes a PlatformPath instead of an OsPath.
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/file-io-0.1.5-13a1/System-File-PlatformPath.html