stash/pkg/movie/update.go

13 lines
273 B
Go

package movie
import (
"context"
"github.com/stashapp/stash/pkg/models"
)
type NameFinderCreator interface {
FindByName(ctx context.Context, name string, nocase bool) (*models.Movie, error)
Create(ctx context.Context, newMovie models.Movie) (*models.Movie, error)
}