paths

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDirectories

func EnsureDirectories() error

EnsureDirectories creates all necessary directories

func GetDatabasePath

func GetDatabasePath() string

GetDatabasePath returns the path to the database

func GetDownloadsPath

func GetDownloadsPath() string

GetDownloadsPath returns the path to the downloads directory

func GetEmbeddingsPath

func GetEmbeddingsPath() string

GetEmbeddingsPath returns the path to the embeddings directory Default: adjacent to database for easy backup/migration

func GetIndexPath

func GetIndexPath() string

GetIndexPath returns the path to the search index Default: adjacent to database for easy backup/migration

func GetModelsPath

func GetModelsPath() string

GetModelsPath returns the path to the models directory

func GetResumePath

func GetResumePath() string

GetResumePath returns the path to the resume/checkpoint directory

Types

type Paths

type Paths struct {
	ConfigDir string
	DataDir   string
	CacheDir  string
	StateDir  string
}

func GetPaths

func GetPaths() Paths

GetPaths returns all base paths respecting environment variables

Jump to

Keyboard shortcuts

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