package
0.27.2
Repository: https://github.com/stashapp/stash.git
Documentation: pkg.go.dev

# Packages

Package generate provides functions to generate media assets from scenes.

# Functions

DestroyMarker deletes the scene marker from the database and returns a function that removes the generated files, to be executed after the transaction is successfully committed.
FilterFromPaths creates a SceneFilterType that filters using the provided paths.
GetDependentGroupIDs returns a slice of group IDs that this scene references.
GetDependentTagIDs returns a slice of unique tag IDs that this scene references.
GetHash returns the hash of the file, based on the hash algorithm provided.
GetSceneGroupsJSON returns a slice of SceneGroup JSON representation objects corresponding to the provided scene's scene group relationships.
GetSceneMarkersJSON returns a slice of SceneMarker JSON representation objects corresponding to the provided scene's markers.
GetStudioName returns the name of the provided scene's studio.
GetTagNames returns a slice of tag names corresponding to the provided scene's tags.
Query queries for scenes using the provided filters.
QueryOptions returns a SceneQueryOptions populated with the provided filters.
QueryWithCount queries for scenes, returning the scene objects and the total count.
ToBasicJSON converts a scene object into its JSON object equivalent.

# Variables

# Structs

FileDeleter is an extension of file.Deleter that handles deletion of scene files.
UpdateSet is used to update a scene and its relationships.

# Interfaces