assets

package
v1.1.11 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrStructNil = errors.New("structure cannot be nil")
	ErrPathEmpty = errors.New("path cannot be empty")
	ErrTarget    = errors.New("unknown target")
)

Functions

func Clean

func Clean(target string, remove, human bool) error

Clean walks through and scans directories containing UUID files and erases any orphans that cannot be matched to the database.

func CreateUUIDMap

func CreateUUIDMap() (total int, uuids database.IDs, err error)

CreateUUIDMap builds a map of all the unique UUID values stored in the Defacto2 database.

Types

type Target

type Target int
const (
	All Target = iota
	Download
	Emulation
	Image
)

Jump to

Keyboard shortcuts

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