cmd

package
v0.0.0-...-89d8475 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2017 License: Apache-2.0, MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCommands

func HandleCommands(db *bolt.DB)

HandleCommands runs commands after setting up necessary preconditions

Types

type MultiModSearch

type MultiModSearch struct {
	MaxDesired int
	RootType   string
	RootFlavor string
	League     string
	Mods       []string
	MinValues  []uint16
}

MultiModSearch specifies a search to perform for items

func FetchMultiModSearch

func FetchMultiModSearch(path string) (*MultiModSearch, error)

FetchMultiModSearch returns a MultiModSearch deserialized from the provided path on disk

func (MultiModSearch) Clone

func (search MultiModSearch) Clone() MultiModSearch

Clone copies the MultiModSearch to a copy that can be mutated without effecting the original

func (*MultiModSearch) Satisfies

func (search *MultiModSearch) Satisfies(result []stash.Item) bool

Satisfies determines if a provided set of Items is acceptable under the query

func (*MultiModSearch) String

func (search *MultiModSearch) String() string

Jump to

Keyboard shortcuts

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