expression

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTorrentAllMatch

func CheckTorrentAllMatch(t *config.Torrent, exp []*vm.Program) (bool, error)

func CheckTorrentSingleMatch

func CheckTorrentSingleMatch(t *config.Torrent, exp []*vm.Program) (bool, error)

Types

type Expressions

type Expressions struct {
	Ignores []*vm.Program
	Removes []*vm.Program
	Labels  []*LabelExpression
}

func Compile

func Compile(filter *config.FilterConfiguration) (*Expressions, error)

type LabelExpression

type LabelExpression struct {
	Name    string
	Updates []*vm.Program
}

Jump to

Keyboard shortcuts

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