| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Ecluse.Core.Registry.Archive.Path
Description
Platform-independent paths for in-memory archive inspection.
Synopsis
- checkPath :: Text -> Either ParseError [Text]
- resolveArchivePath :: [Text] -> Text -> Either ParseError Text
Documentation
checkPath :: Text -> Either ParseError [Text] Source #
Reject absolute, escaping, and platform-dependent member names.
resolveArchivePath :: [Text] -> Text -> Either ParseError Text Source #
Resolve package-relative references or links while refusing an escape from the archive.