| 1 |
## `pathrs-lite` ## |
| 2 |
|
| 3 |
`github.com/cyphar/filepath-securejoin/pathrs-lite` provides a minimal **pure |
| 4 |
Go** implementation of the core bits of [libpathrs][]. This is not intended to |
| 5 |
be a complete replacement for libpathrs, instead it is mainly intended to be |
| 6 |
useful as a transition tool for existing Go projects. |
| 7 |
|
| 8 |
The long-term plan for `pathrs-lite` is to provide a build tag that will cause |
| 9 |
all `pathrs-lite` operations to call into libpathrs directly, thus removing |
| 10 |
code duplication for projects that wish to make use of libpathrs (and providing |
| 11 |
the ability for software packagers to opt-in to libpathrs support without |
| 12 |
needing to patch upstream). |
| 13 |
|
| 14 |
[libpathrs]: https://github.com/cyphar/libpathrs |
| 15 |
|
| 16 |
### License ### |
| 17 |
|
| 18 |
Most of this subpackage is licensed under the Mozilla Public License (version |
| 19 |
2.0). For more information, see the top-level [COPYING.md][] and |
| 20 |
[LICENSE.MPL-2.0][] files, as well as the individual license headers for each |
| 21 |
file. |
| 22 |
|
| 23 |
``` |
| 24 |
Copyright (C) 2024-2025 Aleksa Sarai <[email protected]> |
| 25 |
Copyright (C) 2024-2025 SUSE LLC |
| 26 |
|
| 27 |
This Source Code Form is subject to the terms of the Mozilla Public |
| 28 |
License, v. 2.0. If a copy of the MPL was not distributed with this |
| 29 |
file, You can obtain one at https://mozilla.org/MPL/2.0/. |
| 30 |
``` |
| 31 |
|
| 32 |
[COPYING.md]: ../COPYING.md |
| 33 |
[LICENSE.MPL-2.0]: ../LICENSE.MPL-2.0 |