An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

filepath

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.

Ecosystem
hackage.haskell.org
Latest Release
1.4.2
about 8 years ago
Versions
35
Downloads
69,973 total
Dependent Packages
637
Dependent Repos
8,009
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/filepath
spec
License BSD-3-Clause
First Release almost 19 years ago
Last Synced 2 days ago
Repository
Stars 66 on GitHub
Forks 32 on GitHub
Docker Dependents 2
Docker Downloads 89
Commits 682
Committers 28
Avg per Author 24.357
DDS 0.714
Rankings on hackage.haskell.org
Overall Top 3.4%
Downloads Top 2.2%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 6.7%
Docker downloads Top 1.3%