comparator

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: GPL-3.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	DISC string = "no encode"
	NOCH string = "noch nicht"
	REPL string = "allow replacement"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgeModule

type AgeModule struct {
	// contains filtered or unexported fields
}

func (*AgeModule) Init

func (s *AgeModule) Init(mcfg config.ModuleConfig)

func (*AgeModule) Name

func (s *AgeModule) Name() string

func (*AgeModule) Priority

func (s *AgeModule) Priority() int

func (*AgeModule) Run

func (s *AgeModule) Run(files ...media.File) (string, string, string)

type AudioModule

type AudioModule struct {
	// contains filtered or unexported fields
}

func (*AudioModule) Init

func (s *AudioModule) Init(mcfg config.ModuleConfig)

func (*AudioModule) Name

func (s *AudioModule) Name() string

func (*AudioModule) Priority

func (s *AudioModule) Priority() int

func (*AudioModule) Run

func (s *AudioModule) Run(files ...media.File) (string, string, string)

type DuplicateLengthCheckModule

type DuplicateLengthCheckModule struct {
	// contains filtered or unexported fields
}

func (*DuplicateLengthCheckModule) Init

func (*DuplicateLengthCheckModule) Name

func (*DuplicateLengthCheckModule) Priority

func (s *DuplicateLengthCheckModule) Priority() int

func (*DuplicateLengthCheckModule) Run

type ErrorReplaceModule

type ErrorReplaceModule struct {
	// contains filtered or unexported fields
}

func (*ErrorReplaceModule) Init

func (s *ErrorReplaceModule) Init(mcfg config.ModuleConfig)

func (*ErrorReplaceModule) Name

func (s *ErrorReplaceModule) Name() string

func (*ErrorReplaceModule) Priority

func (s *ErrorReplaceModule) Priority() int

func (*ErrorReplaceModule) Run

func (s *ErrorReplaceModule) Run(files ...media.File) (string, string, string)

type ErrorSkipModule

type ErrorSkipModule struct {
	// contains filtered or unexported fields
}

func (*ErrorSkipModule) Init

func (s *ErrorSkipModule) Init(mcfg config.ModuleConfig)

func (*ErrorSkipModule) Name

func (s *ErrorSkipModule) Name() string

func (*ErrorSkipModule) Priority

func (s *ErrorSkipModule) Priority() int

func (*ErrorSkipModule) Run

func (s *ErrorSkipModule) Run(files ...media.File) (string, string, string)

type LegacyModule

type LegacyModule struct {
	// contains filtered or unexported fields
}

func (*LegacyModule) Init

func (s *LegacyModule) Init(mcfg config.ModuleConfig)

func (*LegacyModule) Name

func (s *LegacyModule) Name() string

func (*LegacyModule) Priority

func (s *LegacyModule) Priority() int

func (*LegacyModule) Run

func (s *LegacyModule) Run(files ...media.File) (string, string, string)

type LengthModule

type LengthModule struct {
	// contains filtered or unexported fields
}

func (*LengthModule) Init

func (s *LengthModule) Init(mcfg config.ModuleConfig)

func (*LengthModule) Name

func (s *LengthModule) Name() string

func (*LengthModule) Priority

func (s *LengthModule) Priority() int

func (*LengthModule) Run

func (s *LengthModule) Run(files ...media.File) (string, string, string)

type LogMatchModule

type LogMatchModule struct {
	// contains filtered or unexported fields
}

func (*LogMatchModule) Init

func (s *LogMatchModule) Init(mcfg config.ModuleConfig)

func (*LogMatchModule) Name

func (s *LogMatchModule) Name() string

func (*LogMatchModule) Priority

func (s *LogMatchModule) Priority() int

func (*LogMatchModule) Run

func (s *LogMatchModule) Run(files ...media.File) (string, string, string)

type MaxSizeModule

type MaxSizeModule struct {
	// contains filtered or unexported fields
}

func (*MaxSizeModule) Init

func (s *MaxSizeModule) Init(mcfg config.ModuleConfig)

func (*MaxSizeModule) Name

func (s *MaxSizeModule) Name() string

func (*MaxSizeModule) Priority

func (s *MaxSizeModule) Priority() int

func (*MaxSizeModule) Run

func (s *MaxSizeModule) Run(files ...media.File) (string, string, string)

type Module

type Module interface {
	// Run executes a module
	//
	// file[0] must be the new file, file[1] must be the old file
	Run(...media.File) (string, string, string)
	Priority() int
	Name() string
	Init(config.ModuleConfig)
}

func InitDupeModules

func InitDupeModules() []Module

Initializes all modules for duplicate checking

func InitStandaloneModules

func InitStandaloneModules() []Module

Initialize all modules for single file checking

type ResolutionModule

type ResolutionModule struct {
	// contains filtered or unexported fields
}

func (*ResolutionModule) Init

func (s *ResolutionModule) Init(mcfg config.ModuleConfig)

func (*ResolutionModule) Name

func (s *ResolutionModule) Name() string

func (*ResolutionModule) Priority

func (s *ResolutionModule) Priority() int

func (*ResolutionModule) Run

func (s *ResolutionModule) Run(files ...media.File) (string, string, string)

type SizeApproxModule

type SizeApproxModule struct {
	// contains filtered or unexported fields
}

func (*SizeApproxModule) Init

func (s *SizeApproxModule) Init(mcfg config.ModuleConfig)

func (*SizeApproxModule) Name

func (s *SizeApproxModule) Name() string

func (*SizeApproxModule) Priority

func (s *SizeApproxModule) Priority() int

func (*SizeApproxModule) Run

func (s *SizeApproxModule) Run(files ...media.File) (string, string, string)

Jump to

Keyboard shortcuts

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