summaryrefslogtreecommitdiff
path: root/apt-pkg/cachefilter-patterns.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-01-29 19:01:06 +0100
committerJulian Andres Klode <jak@debian.org>2025-05-19 15:19:23 +0000
commit93416f3227685c390c7ab579981efde526134181 (patch)
tree475fdfe3b426378cfafecdc6cda09155af20b4db /apt-pkg/cachefilter-patterns.h
parent9a7e34d491b828a227930654d4f99e4fd2eb93ec (diff)
Add 'Include'/'Exclude' options to limit packages used from a repository
'Include' allows limiting a repository to a allowlist of packages, 'Exclude' allows removing packages from a repository. Implementation wise this is not the nicest as it goes via the IndexTarget options, so we first parse our option value into a vector, then we turn the vector into a string, and then vectorize it again. That said, we support both "," and " " as separators due to the construction (we split by "," then we join using " "). Gbp-Dch: full
Diffstat (limited to 'apt-pkg/cachefilter-patterns.h')
0 files changed, 0 insertions, 0 deletions