func PerformerGalleries(p *models.Performer, paths []string, rw models.GalleryReaderWriter, cache *match.Cache) error {
	t := getPerformerTagger(p, cache)

	return t.tagGalleries(paths, rw, func(subjectID, otherID int) (bool, error) {
		return gallery.AddPerformer(rw, otherID, subjectID)
	})
}
// PerformerGalleries searches for galleries whose path matches the provided performer name and tags the gallery with the performer.
PerformerGalleries searches for galleries whose path matches the provided performer name and tags the gallery with the performer.
// PerformerGalleries searches for galleries whose path matches the provided performer name and tags the gallery with the performer .
func PerformerGalleries(p *models.Performer, paths []string, rw models.GalleryReaderWriter, cache *match.Cache) error {
	t := getPerformerTagger(p, cache)
	return t.tagGalleries(paths, rw, func(subjectID, otherID int) (bool, error) {
		return gallery.AddPerformer(rw, otherID, subjectID)
	})
}
func PerformerGalleries ( p * models . Performer , paths [ ] string , rw models . GalleryReaderWriter , cache * match . Cache ) error { t := getPerformerTagger ( p , cache ) return t . tagGalleries ( paths , rw , func ( subjectID , otherID int ) ( bool , error ) { return gallery . AddPerformer ( rw , otherID , subjectID ) } ) }
PerformerGalleries searches for galleries whose path matches the provided performer name and tags the gallery with the performer.
PerformerGalleries searches for galleries whose path matches the provided performer name and tags the gallery with the performer .