logAnalyzer

package
v0.0.0-...-cd06f3d Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	REGEX_LEVEL_DUPLICATE        = "DUPLICATE"
	REGEX_LEVEL_SOURCEFILE       = "SOURCEFILE"
	REGEX_LEVEL_DUPLICATE_TRIM   = "DUPLICATE-TRIM"
	REGEX_LEVEL_DUPLICATE_DIFFER = "DUPLICATE-DIFFER"
	REGEX_LEVEL_LINE             = "LINE"
)

Variables

This section is empty.

Functions

func IsFileOK

func IsFileOK(regularExpressions []NamedRegEx, regexToIdentifyIgnoredParts []IgnoreRegEx, duplicateBufferSize int, showProgress bool, fileUrlToAnalyze string) (result bool, hits []string)

Types

type IgnoreRegEx

type IgnoreRegEx struct {
	Level string
	RegEx string
}

type NamedRegEx

type NamedRegEx struct {
	Level string
	Name  string
	RegEx string
}

func IsLineOK

func IsLineOK(regularExpressions []NamedRegEx, regexToIdentifyIgnoredParts []IgnoreRegEx, stringToAnalyze string) (result bool, hitString string, hit NamedRegEx)

Jump to

Keyboard shortcuts

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