func (o *FilterOptions) Include(d *manifestlist.ManifestDescriptor, hasMultiple bool) bool {
	if o.OSFilter == nil {
		return true
	}
	if o.DefaultOSFilter && !hasMultiple {
		return true
	}
	s := PlatformSpecString(d.Platform)
	return o.OSFilter.MatchString(s)
}
// Include returns true if the provided manifest should be included, or the first image if the user didn't alter the
// default selection and there is only one image.
Include returns true if the provided manifest should be included, or the first image if the user didn't alter the
default selection and there is only one image.
// Include returns true if the provided manifest should be included or the first image if the user didn ' t alter the // default selection and there is only one image .
func (o *FilterOptions) Include(d *manifestlist.ManifestDescriptor, hasMultiple bool) bool {
	if o.OSFilter == nil {
		return true
	}
	if o.DefaultOSFilter && !hasMultiple {
		return true
	}
	s := PlatformSpecString(d.Platform)
	return o.OSFilter.MatchString(s)
}
func ( o * FilterOptions ) Include ( d * manifestlist . ManifestDescriptor , hasMultiple bool ) bool { if o . OSFilter == nil { return true } if o . DefaultOSFilter && ! hasMultiple { return true } s := PlatformSpecString ( d . Platform ) return o . OSFilter . MatchString ( s ) }
Include returns true if the provided manifest should be included, or the first image if the user didn't alter the
default selection and there is only one image.
Include returns true if the provided manifest should be included or the first image if the user didn ' t alter the default selection and there is only one image .