has method

  1. @override
bool has(
  1. MaybeTarFormat other
)
override

Returns if other is a possible resolution of this.

For example, a TarFormat with a value of 6 means that we do not have enough information to determine if it is TarFormat.ustar or TarFormat.pax, so either of them could be possible resolutions of this.

Implementation

@override
bool has(MaybeTarFormat other) {
  return other == this;
}