sysutils/hs-rawfilepath - The NetBSD Packages Collection

Use RawFilePath instead of FilePath

The unix package provides RawFilePath which is a type synonym of
ByteString. Unlike FilePath (which is String), it has no performance issues
because it is ByteString. It has no encoding issues because it is
ByteString which is a sequence of bytes instead of characters.

That's all good. With RawFilePath, we can properly separate the "sequence
of bytes" and the "sequence of Unicode characters." The control is
yours. Properly encode or decode them with UTF-8 or UTF-16 or any codec of
your choice.

However,

* The functions in unix are low-level.
* The higher-level packages such as process and directory are strictly tied
  to FilePath.

This library provides the higher-level interface with RawFilePath.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc96

Binary packages

OSArchitectureVersion
NetBSD 10.0x86_64hs-rawfilepath-1.1.0nb1.tgz
NetBSD 9.0x86_64hs-rawfilepath-1.1.0nb1.tgz
NetBSD 9.3x86_64hs-rawfilepath-1.1.0nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.