Documentation
¶
Index ¶
- type Context
- func (ctx *Context) AssemblyDir() string
- func (ctx *Context) Configuration() *configuration.Configuration
- func (ctx *Context) ExcludesDir() string
- func (ctx *Context) IncludesDir() string
- func (ctx *Context) RegressionTestsDir() string
- func (ctx *Context) RootDir() string
- func (ctx *Context) RulesDir() string
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 NewWithConfiguration ¶
func NewWithConfiguration(rootDir string, configuration *configuration.Configuration) *Context
func (*Context) AssemblyDir ¶
DataDir returns the 'regex-assembly' directory.
func (*Context) Configuration ¶
func (ctx *Context) Configuration() *configuration.Configuration
func (*Context) ExcludesDir ¶
ExcludesDir returns the 'exclude' directory. Used for exclude files that don't have an absolute path.
func (*Context) IncludesDir ¶
IncludeDir returns the 'include' directory. Used to include files that don't have an absolute path.
func (*Context) RegressionTestsDir ¶
RegressionTestsDir returns the 'tests' directory of regression tests.
Click to show internal directories.
Click to hide internal directories.