stash/pkg/scene/service.go
WithoutPants b7799df2a6
Add package docs and project vision/goals (#5169)
* Add goals/design vision to contributing doc
* Add barebones package documentation
2024-08-28 09:01:39 +10:00

23 lines
580 B
Go

// Package scene provides the application logic for scene functionality.
// Most functionality is provided by [Service].
package scene
import (
"github.com/stashapp/stash/pkg/models"
"github.com/stashapp/stash/pkg/models/paths"
"github.com/stashapp/stash/pkg/plugin"
)
type Config interface {
GetVideoFileNamingAlgorithm() models.HashAlgorithm
}
type Service struct {
File models.FileReaderWriter
Repository models.SceneReaderWriter
MarkerRepository models.SceneMarkerReaderWriter
PluginCache *plugin.Cache
Paths *paths.Paths
Config Config
}