paths

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureJSONDirs

func EnsureJSONDirs(baseDir string)

func GetDefaultDatabaseFilePath

func GetDefaultDatabaseFilePath() string

func GetStashHomeDirectory

func GetStashHomeDirectory() string

Types

type JSONPaths

type JSONPaths struct {
	Metadata string

	MappingsFile string
	ScrapedFile  string

	Performers string
	Scenes     string
	Images     string
	Galleries  string
	Studios    string
	Tags       string
	Movies     string
}

func GetJSONPaths

func GetJSONPaths(baseDir string) *JSONPaths

func (*JSONPaths) GalleryJSONPath

func (jp *JSONPaths) GalleryJSONPath(checksum string) string

func (*JSONPaths) ImageJSONPath

func (jp *JSONPaths) ImageJSONPath(checksum string) string

func (*JSONPaths) MovieJSONPath

func (jp *JSONPaths) MovieJSONPath(checksum string) string

func (*JSONPaths) PerformerJSONPath

func (jp *JSONPaths) PerformerJSONPath(checksum string) string

func (*JSONPaths) SceneJSONPath

func (jp *JSONPaths) SceneJSONPath(checksum string) string

func (*JSONPaths) StudioJSONPath

func (jp *JSONPaths) StudioJSONPath(checksum string) string

func (*JSONPaths) TagJSONPath

func (jp *JSONPaths) TagJSONPath(checksum string) string

type Paths

type Paths struct {
	Generated *generatedPaths

	Scene        *scenePaths
	SceneMarkers *sceneMarkerPaths
}

func NewPaths

func NewPaths(generatedPath string) *Paths

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL