specidpaths

package
v0.0.0-...-8d52960 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotAbs   = errors.New("not abs")
	ErrNotFound = errors.New("not found")
)

Functions

This section is empty.

Types

type Result

type Result interface {
	SID() *specid.ID
	AbsPath() string
}

func Locate

func Locate(dbc *db.DB, id specid.ID) (Result, error)

Locate maps a specid to its location on the filesystem

func Lookup

func Lookup(dbc *db.DB, musicPaths []string, podcastsPath string, path string) (Result, error)

Locate maps a location on the filesystem to a specid

Jump to

Keyboard shortcuts

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