jw-pkg/test/unit/python/jw/pkg/lib/Distro
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann dc9ef58c8b
lib.Distro.paths(): Add method
After the introduction of path-based filters, accompany the existing
pkg_paths() method by a more fine-grained paths() method, taking a
PathFilter instead of a PackageFilter. It additionally takes a "pkg_names"
argument, which is then dispatched to the filter if it's a package filter.
The API isn't glorious, but works for now and is easily changeable in the
future: **kwargs comes to mind, or a PackageFilter which brings its own
package names.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-18 19:13:01 +01:00
..
Makefile lib.Distro: Fix os-release and cascade macros 2026-09-14 20:20:34 +02:00
test.py lib.Distro.paths(): Add method 2026-11-18 19:13:01 +01:00