mirror of
https://github.com/stashapp/stash.git
synced 2026-05-07 17:20:04 -05:00
b7799df2a6
* Add goals/design vision to contributing doc * Add barebones package documentation
24 lines
580 B
Go
24 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
|
|
}
|