paths

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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 added in v0.2.0

func EnsureJSONDirs(baseDir string)

func GetDefaultDatabaseFilePath

func GetDefaultDatabaseFilePath() string

func GetStashHomeDirectory added in v0.7.0

func GetStashHomeDirectory() string

Types

type JSONPaths added in v0.4.0

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 added in v0.2.0

func GetJSONPaths(baseDir string) *JSONPaths

func (*JSONPaths) GalleryJSONPath added in v0.4.0

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

func (*JSONPaths) ImageJSONPath added in v0.4.0

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

func (*JSONPaths) MovieJSONPath added in v0.4.0

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

func (*JSONPaths) PerformerJSONPath added in v0.4.0

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

func (*JSONPaths) SceneJSONPath added in v0.4.0

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

func (*JSONPaths) StudioJSONPath added in v0.4.0

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

func (*JSONPaths) TagJSONPath added in v0.4.0

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