ruleutil

package
v0.44.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInput

func NewInput(file tfile.TGFileMessage, opts ...ruleInputOption) *ruleInput

Types

type MatchedDirPath added in v0.26.0

type MatchedDirPath string

func ApplyRule

func ApplyRule(ctx context.Context, rules []database.Rule, inputs *ruleInput) (matched bool, matchedStorageName matchedStorName, dirPath MatchedDirPath)

func (MatchedDirPath) NeedNewForAlbum added in v0.26.0

func (m MatchedDirPath) NeedNewForAlbum() bool

func (MatchedDirPath) String added in v0.26.0

func (m MatchedDirPath) String() string

Jump to

Keyboard shortcuts

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