Package1.5.5.0System
filepath
Library for manipulating FilePaths in a cross platform way.
- Version1.5.5.0
- CategorySystem
- LicenceBSD-3-Clause
- AuthorNeil Mitchell <ndmitchell@gmail.com>
- MaintainerJulian Ospald <hasufell@posteo.de>
- Homepagegithub.com/haskell/filepath/blob/master/README.md
- Pinned bywith GHC
- Sourcehackage.haskell.org/package/filepath-1.5.5.0
Modules
11 modules- System.FilePath53A library for FilePath manipulations, using Posix or Windows filepaths
- System.FilePath.Posix53A library for FilePath manipulations, using Posix style paths on
- System.FilePath.Windows53A library for FilePath manipulations, using Windows style paths on
- System.OsPath66An implementation of the Abstract FilePath Proposal,
- System.OsPath.Encoding18
- System.OsPath.Posix66
- System.OsPath.Types10
- System.OsPath.Windows66
Internal modules · 3
- System.OsPath.Internal11
- System.OsPath.Posix.Internal51A library for FilePath manipulations, using Posix style paths on
- System.OsPath.Windows.Internal51A library for FilePath manipulations, using Windows style paths on
Description
This package provides functionality for manipulating FilePath values, and is shipped with GHC. It provides two variants for filepaths:
legacy filepaths: type FilePath = String operating system abstracted filepaths (OsPath): internally unpinned ShortByteString (platform-dependent encoding)
It is recommended to use OsPath when possible, because it is more correct.
For each variant there are three main modules:
System.FilePath.Posix / System.OsPath.Posix manipulates POSIX/Linux style FilePath values (with / as the path separator). System.FilePath.Windows / System.OsPath.Windows manipulates Windows style FilePath values (with either \ or / as the path separator, and deals with drives). System.FilePath / System.OsPath for dealing with current platform-specific filepaths
For more powerful string manipulation of OsPath, you can use the os-string package (OsPath is a type synonym for OsString).
An introduction into the new API can be found in this blog post. Code examples for the new API can be found here.
Depends on
7 packages- base-4.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- deepseq-1.5.2.0with GHC
- exceptions-0.10.12with GHC
- os-string-2.0.11with GHC
- template-haskell-lift-0.1.0.0with GHC
- template-haskell-quasiquoter-0.1.0.0with GHC
Used by in this set · 114
- Agda-2.8.0.2
- BNFC-2.9.6.3
- Cabal-3.18.1.0
- Cabal-syntax-3.18.1.0
- Glob-0.10.2
- autoexporter-2.0.0.9
- brick-3.0
- cabal-doctest-1.0.13
- cabal-install-3.18.1.0
- cabal-install-solver-3.18.1.0
- cabal2nix-2.21.3
- citeproc-0.14.1
- cmdargs-0.10.22
- commonmark-extensions-0.2.7.3
- conduit-1.3.6.1
- conduit-extra-1.3.8
- criterion-1.6.5.0
- crypto-api-tests-0.3
- crypton-x509-store-1.9.0
- crypton-x509-system-1.9.0
- dbus-1.4.3
- directory-1.3.11.0
- directory-ospath-streaming-0.3
- directory-tree-0.12.1
- doctemplates-0.11.1
- doctest-0.25.0.2
- easy-file-0.2.5
- ech-config-0.0.1
- effectful-2.7.1.0
- extra-1.8.1
- fast-logger-3.2.7
- file-embed-0.0.16.0
- file-io-0.2.0
- filemanip-0.3.6.3
- filepattern-0.1.3
- ghc-10.0.0.20260917
- ghc-boot-10.0.0.20260917
- ghc-lib-parser-9.14.1.20251220
- ghc-toolchain-0.1.0.0
- ghci-10.0.0.20260917
- githash-0.1.7.0
- gitrev-1.3.1
- graphviz-2999.20.2.1
- hackage-db-2.1.3
- hackage-revdeps-0.4.1
- hackage-security-0.6.4.0
- haddock-api-2.34.0
- hashable-1.5.1.0
- haskeline-0.8.5.0
- hdaemonize-0.5.7
- hint-0.9.0.9
- hoogle-5.0.19.0
- hooks-exe-3.18
- horizon-config-shell-0.12.0
- hpack-0.39.6
- hpc-0.7.0.2
- hslua-module-path-1.2.0
- hspec-core-2.11.18
- hspec-discover-2.11.18
- hspec-golden-0.2.2.0
- hspec-golden-aeson-0.9.0.0
- hspec-meta-2.11.18
- http-client-0.7.19
- http-streams-0.8.9.9
- hxt-9.3.1.22
- infer-license-0.2.0
- language-c-0.10.2
- lens-5.3.6
- microstache-1.0.3.1
- mime-mail-0.5.2
- mockery-0.3.5
- optparse-generic-1.5.3
- path-0.9.6
- path-io-1.8.2
- postgresql-migration-0.2.1.8
- pretty-show-1.10
- process-1.6.30.0
- prometheus-proc-0.1.6.1
- rio-0.1.25.0
- sandwich-0.3.1.0
- semaphore-compat-2.0.1
- servant-server-0.20.3.0
- servant-static-th-1.0.0.1
- shake-0.19.9
- shelly-1.12.1.1
- skylighting-core-0.15
- snap-core-1.0.5.1
- snap-server-1.1.2.1
- stache-2.4.0
- store-0.7.22
- streamly-core-0.3.1
- sydtest-0.33.0.0
- sydtest-discover-0.0.0.4
- tasty-discover-5.2.0
- tasty-golden-2.3.6
- tasty-rerun-1.1.20
- tasty-silver-3.3.2.1
- temporary-1.3
- th-utilities-0.2.5.2
- turtle-1.6.2
- typst-0.12
- unix-2.8.8.0
- unliftio-0.2.25.1
- validity-path-0.4.0.1
- vcr-0.1.0
- vty-6.6
- vulkan-utils-0.5.11.0
- wai-app-static-3.2.1
- wai-middleware-static-0.9.4
- webdriver-0.15.0.0
- x509-store-1.6.9
- x509-system-1.6.7
- yaml-0.11.11.2
- zip-archive-0.5