context

package
v2.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

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

func New

func New(rootDir string, configurationFileName string) *Context

func NewWithConfiguration

func NewWithConfiguration(rootDir string, configuration *configuration.Configuration) *Context

func (*Context) AssemblyDir

func (ctx *Context) AssemblyDir() string

DataDir returns the 'regex-assembly' directory.

func (*Context) Configuration

func (ctx *Context) Configuration() *configuration.Configuration

func (*Context) ExcludesDir

func (ctx *Context) ExcludesDir() string

ExcludesDir returns the 'exclude' directory. Used for exclude files that don't have an absolute path.

func (*Context) IncludesDir

func (ctx *Context) IncludesDir() string

IncludeDir returns the 'include' directory. Used to include files that don't have an absolute path.

func (*Context) RegressionTestsDir

func (ctx *Context) RegressionTestsDir() string

RegressionTestsDir returns the 'tests' directory of regression tests.

func (*Context) RootDir

func (ctx *Context) RootDir() string

RootDir returns the root of the CRS directory structure.

func (*Context) RulesDir

func (ctx *Context) RulesDir() string

RulesDir returns the 'rules' directory.

Jump to

Keyboard shortcuts

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