merge: resolve pacman capabilities conflict (keep both interfaces)

This commit is contained in:
2026-02-28 07:07:21 +00:00
8 changed files with 39 additions and 0 deletions

View File

@@ -101,9 +101,13 @@ func (d *Dpkg) ParseArch(name string) (string, string) {
return parseArch(name)
}
// SupportsDryRun reports that dpkg honors [snack.WithDryRun] via --simulate.
func (d *Dpkg) SupportsDryRun() bool { return true }
// Compile-time interface checks.
var (
_ snack.Manager = (*Dpkg)(nil)
_ snack.FileOwner = (*Dpkg)(nil)
_ snack.NameNormalizer = (*Dpkg)(nil)
_ snack.DryRunner = (*Dpkg)(nil)
)