match

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathToGalleries

func PathToGalleries(name string, paths []string, galleryReader models.GalleryReader) ([]*models.Gallery, error)

func PathToImages

func PathToImages(name string, paths []string, imageReader models.ImageReader) ([]*models.Image, error)

func PathToPerformers

func PathToPerformers(path string, performerReader models.PerformerReader) ([]*models.Performer, error)

func PathToScenes

func PathToScenes(name string, paths []string, sceneReader models.SceneReader) ([]*models.Scene, error)

func PathToStudios

func PathToStudios(path string, reader models.StudioReader) ([]*models.Studio, error)

func PathToTags

func PathToTags(path string, tagReader models.TagReader) ([]*models.Tag, error)

func ScrapedMovie

func ScrapedMovie(qb models.MovieReader, m *models.ScrapedMovie) error

ScrapedMovie matches the provided movie with the movies in the database and sets the ID field if one is found.

func ScrapedPerformer

func ScrapedPerformer(qb models.PerformerReader, p *models.ScrapedPerformer, stashBoxEndpoint *string) error

ScrapedPerformer matches the provided performer with the performers in the database and sets the ID field if one is found.

func ScrapedStudio

func ScrapedStudio(qb models.StudioReader, s *models.ScrapedStudio, stashBoxEndpoint *string) error

ScrapedStudio matches the provided studio with the studios in the database and sets the ID field if one is found.

func ScrapedTag

func ScrapedTag(qb models.TagReader, s *models.ScrapedTag) error

ScrapedTag matches the provided tag with the tags in the database and sets the ID field if one is found.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL