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

# Packages

Package json provides generic JSON types.
Package jsonschema provides the JSON schema models used for importing and exporting data.
Package mocks provides mocks for various interfaces in [models].
Package paths provides functions to return paths to various resources.

# Functions

BatchFindFilter returns a FindFilterType suitable for batch finding using the provided batch size.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewOptionalBool returns a new OptionalBool with the given value.
NewOptionalBoolPtr returns a new OptionalBool with the given value.
NewOptionalDate returns a new OptionalDate with the given value.
NewOptionalBoolPtr returns a new OptionalDate with the given value.
NewOptionalFloat64 returns a new OptionalFloat64 with the given value.
NewOptionalFloat64 returns a new OptionalFloat64 with the given value.
NewOptionalInt returns a new OptionalInt with the given value.
NewOptionalInt64 returns a new OptionalInt64 with the given value.
NewOptionalInt64Ptr returns a new OptionalInt64 with the given value.
NewOptionalIntPtr returns a new OptionalInt with the given value.
NewOptionalString returns a new OptionalString with the given value.
NewOptionalStringPtr returns a new OptionalString with the given value.
NewOptionalTime returns a new OptionalTime with the given value.
NewOptionalTimePtr returns a new OptionalTime with the given value.
No description provided by the author
No description provided by the author
No description provided by the author
NewRelatedGroups returns a loaded RelateGroups object with the provided groups.
NewRelatedGroups returns a loaded RelateGroups object with the provided groups.
NewRelatedIDs returns a loaded RelatedIDs object with the provided IDs.
NewRelatedStashIDs returns a RelatedStashIDs object with the provided ids.
NewRelatedStrings returns a loaded RelatedStrings object with the provided values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDate uses utils.ParseDateStringAsTime to parse a string into a date.
ParseSearchString parses the Q value and returns a SearchSpecs object.
No description provided by the author
Rating100To5 converts a 1-100 rating to a 1-5 rating.
Rating5To100 converts a 1-5 rating to a 1-100 rating.

# Constants

No description provided by the author
No description provided by the author
>= AND <=.
=.
No description provided by the author
>.
No description provided by the author
INCLUDES ALL.
IS NULL.
<.
MATCHES REGEX.
< OR >.
!=.
NOT MATCHES REGEX.
IS NOT NULL.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
oshash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PerPageAll is the value used for perPage to indicate all results should be returned.
X264_FAST.
X264_MEDIUM.
X264_SLOW.
X264_SLOWER.
X264_ULTRAFAST.
X264_VERYFAST.
X264_VERYSLOW.
No description provided by the author
No description provided by the author
No description provided by the author
8k.
5k.
4k.
1080p.
8K+.
240p.
1440p.
360p.
7k.
6k.
480p.
720p.
144p.
1920p - deprecated.
540p.
No description provided by the author
No description provided by the author
4k.
1080p.
240p.
Original.
480p.
720p.
TenStar = "TenStar" TenPointFiveStar = "TenPointFiveStar" TenPointTwoFiveStar = "TenPointTwoFiveStar".

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrConversion signifies conversion errors.
ErrNotFound signifies entities which are not found.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BaseFile represents a file in the file system.
No description provided by the author
Date wraps a time.Time with a format of "YYYY-MM-DD".
No description provided by the author
DirEntry represents a file or directory in the file system.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Fingerprint represents a fingerprint of a file.
No description provided by the author
Folder represents a folder in the file system.
No description provided by the author
No description provided by the author
GalleryChapterPartial represents part of a GalleryChapter object.
No description provided by the author
No description provided by the author
GalleryPartial represents part of a Gallery object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Image stores the metadata for a single image.
No description provided by the author
ImageFile is an extension of BaseFile to represent image files.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OptionalBool represents an optional int64 argument that may be null.
OptionalDate represents an optional date argument that may be null.
OptionalFloat64 represents an optional float64 argument that may be null.
OptionalInt represents an optional int argument that may be null.
OptionalInt64 represents an optional int64 argument that may be null.
OptionalString represents an optional string argument that may be null.
OptionalTime represents an optional time argument that may be null.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PerformerPartial represents part of a Performer object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RelatedGroups represents a list of related Groups.
RelatedIDs represents a list of related IDs.
No description provided by the author
RelatedStrings represents a list of related strings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Scene stores the metadata for a single video scene.
No description provided by the author
No description provided by the author
SceneFileType represents the file metadata for a scene.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SceneMarkerPartial represents part of a SceneMarker object.
No description provided by the author
SceneMovieInput is used for groups and movies.
No description provided by the author
No description provided by the author
ScenePartial represents part of a Scene object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ScrapedGroup is a group from a scraping operation.
A movie from a scraping operation...
A performer from a scraping operation...
No description provided by the author
No description provided by the author
SearchSpecs provides the specifications for text-based searches.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StudioPartial represents part of a Studio object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VideoFile is an extension of BaseFile to represent video files.

# Interfaces

No description provided by the author
BlobReader provides methods to get files by ID.
No description provided by the author
File represents a file in the file system.
FileCounter provides methods to count files.
FileCreator provides methods to create files.
FileDestroyer provides methods to destroy files.
FileFinder provides methods to find files.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FileGetter provides methods to get files by ID.
No description provided by the author
No description provided by the author
FileOpener provides an interface to open a file.
FileQueryer provides methods to query files.
FileReader provides all methods to read files.
FileReaderWriter provides all file methods.
FileUpdater provides methods to update files.
FileWriter provides all methods to modify files.
No description provided by the author
FolderCreator provides methods to create folders.
No description provided by the author
FolderFinder provides methods to find folders.
No description provided by the author
No description provided by the author
FolderGetter provides methods to get folders by ID.
FolderReader provides all methods to read folders.
FolderReaderWriter provides all folder methods.
FolderUpdater provides methods to update folders.
FolderWriter provides all methods to modify folders.
FS represents a file system.
GalleryChapterCreator provides methods to create gallery chapters.
No description provided by the author
GalleryChapterDestroyer provides methods to destroy gallery chapters.
GalleryChapterFinder provides methods to find gallery chapters.
GalleryChapterGetter provides methods to get gallery chapters by ID.
GalleryChapterReader provides all methods to read gallery chapters.
GalleryChapterReaderWriter provides all gallery chapter methods.
GalleryChapterUpdater provides methods to update gallery chapters.
GalleryChapterWriter provides all methods to modify gallery chapters.
GalleryCounter provides methods to count galleries.
No description provided by the author
GalleryCreator provides methods to create galleries.
No description provided by the author
GalleryDestroyer provides methods to destroy galleries.
GalleryFinder provides methods to find galleries.
GalleryGetter provides methods to get galleries by ID.
No description provided by the author
GalleryQueryer provides methods to query galleries.
GalleryReader provides all methods to read galleries.
GalleryReaderWriter provides all gallery methods.
GalleryUpdater provides methods to update galleries.
GalleryWriter provides all methods to modify galleries.
GroupCounter provides methods to count groups.
GroupCreator provides methods to create groups.
No description provided by the author
GroupDestroyer provides methods to destroy groups.
GroupFinder provides methods to find groups.
No description provided by the author
GroupGetter provides methods to get groups by ID.
GroupQueryer provides methods to query groups.
GroupReader provides all methods to read groups.
GroupReaderWriter provides all group methods.
GroupUpdater provides methods to update groups.
GroupWriter provides all methods to modify groups.
ImageCounter provides methods to count images.
ImageCreator provides methods to create images.
No description provided by the author
ImageDestroyer provides methods to destroy images.
ImageFinder provides methods to find images.
ImageGetter provides methods to get images by ID.
No description provided by the author
ImageQueryer provides methods to query images.
ImageReader provides all methods to read images.
ImageReaderWriter provides all image methods.
ImageUpdater provides methods to update images.
ImageWriter provides all methods to modify images.
No description provided by the author
No description provided by the author
No description provided by the author
PerformerCounter provides methods to count performers.
PerformerCreator provides methods to create performers.
No description provided by the author
PerformerDestroyer provides methods to destroy performers.
PerformerFinder provides methods to find performers.
No description provided by the author
PerformerGetter provides methods to get performers by ID.
No description provided by the author
PerformerQueryer provides methods to query performers.
PerformerReader provides all methods to read performers.
PerformerReaderWriter provides all performer methods.
PerformerUpdater provides methods to update performers.
PerformerWriter provides all methods to modify performers.
No description provided by the author
No description provided by the author
No description provided by the author
SceneCounter provides methods to count scenes.
SceneCreator provides methods to create scenes.
No description provided by the author
SceneDestroyer provides methods to destroy scenes.
SceneFinder provides methods to find scenes.
SceneGetter provides methods to get scenes by ID.
No description provided by the author
No description provided by the author
SceneMarkerCounter provides methods to count scene markers.
SceneMarkerCreator provides methods to create scene markers.
No description provided by the author
SceneMarkerDestroyer provides methods to destroy scene markers.
SceneMarkerFinder provides methods to find scene markers.
SceneMarkerGetter provides methods to get scene markers by ID.
SceneMarkerQueryer provides methods to query scene markers.
SceneMarkerReader provides all methods to read scene markers.
SceneMarkerReaderWriter provides all scene marker methods.
SceneMarkerUpdater provides methods to update scene markers.
SceneMarkerWriter provides all methods to modify scene markers.
SceneQueryer provides methods to query scenes.
SceneReader provides all methods to read scenes.
SceneReaderWriter provides all scene methods.
SceneUpdater provides methods to update scenes.
SceneWriter provides all methods to modify scenes.
No description provided by the author
No description provided by the author
StudioCounter provides methods to count studios.
StudioCreator provides methods to create studios.
No description provided by the author
StudioDestroyer provides methods to destroy studios.
StudioFinder provides methods to find studios.
No description provided by the author
StudioGetter provides methods to get studios by ID.
StudioQueryer provides methods to query studios.
StudioReader provides all methods to read studios.
StudioReaderWriter provides all studio methods.
StudioUpdater provides methods to update studios.
StudioWriter provides all methods to modify studios.
No description provided by the author
No description provided by the author
TagCounter provides methods to count tags.
TagCreator provides methods to create tags.
No description provided by the author
TagDestroyer provides methods to destroy tags.
TagFinder provides methods to find tags.
No description provided by the author
TagGetter provides methods to get tags by ID.
No description provided by the author
TagQueryer provides methods to query tags.
TagReader provides all methods to read tags.
TagReaderWriter provides all tags methods.
No description provided by the author
TagUpdater provides methods to update tags.
TagWriter provides all methods to modify tags.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VisualFile is an interface for files that have a width and height.
ZipFS represents a zip file system.

# Type aliases

No description provided by the author
No description provided by the author
ID represents an ID of a file.
No description provided by the author
No description provided by the author
FolderID represents an ID of a folder.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author