mirror of
https://github.com/stashapp/stash.git
synced 2026-05-09 05:05:29 +02:00
feat(backend): update SceneReaderWriter interface to accept filter
Modifies the FindDuplicates signature to take a SceneFilterType pointer, allowing the underlying repository to filter the pool of scenes before duplicate checking.
This commit is contained in:
parent
aaf2ba4cf6
commit
78ed5ea513
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ type SceneFinder interface {
|
|||
FindByPerformerID(ctx context.Context, performerID int) ([]*Scene, error)
|
||||
FindByGalleryID(ctx context.Context, performerID int) ([]*Scene, error)
|
||||
FindByGroupID(ctx context.Context, groupID int) ([]*Scene, error)
|
||||
FindDuplicates(ctx context.Context, distance int, durationDiff float64) ([][]*Scene, error)
|
||||
FindDuplicates(ctx context.Context, distance int, durationDiff float64, filter *SceneFilterType) ([][]*Scene, error)
|
||||
}
|
||||
|
||||
// SceneQueryer provides methods to query scenes.
|
||||
|
|
|
|||
Loading…
Reference in a new issue