paths

package
v0.29.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package paths provides functions to return paths to various resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmptyJSONDirs added in v0.17.0

func EmptyJSONDirs(baseDir string)

func EnsureJSONDirs

func EnsureJSONDirs(baseDir string)

func GetDefaultDatabaseFilePath

func GetDefaultDatabaseFilePath() string

func GetStashHomeDirectory

func GetStashHomeDirectory() string

Types

type JSONPaths

type JSONPaths struct {
	Metadata string

	ScrapedFile string

	Performers   string
	Scenes       string
	Images       string
	Galleries    string
	Studios      string
	Tags         string
	Groups       string
	Files        string
	SavedFilters string
}

func GetJSONPaths

func GetJSONPaths(baseDir string) *JSONPaths

type Paths

type Paths struct {
	Generated *generatedPaths

	Scene        *scenePaths
	SceneMarkers *sceneMarkerPaths
	Blobs        string
}

func NewPaths

func NewPaths(generatedPath string, blobsPath string) Paths

Jump to

Keyboard shortcuts

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