filefind

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileFinder

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

func NewFileFinder

func NewFileFinder(fs afero.Fs) *FileFinder

func (*FileFinder) Find

func (f *FileFinder) Find(logE *logrus.Entry, cfg *config.Config, rootDir, cfgDir string) ([]*Target, error)

func (*FileFinder) FindLintFiles added in v0.4.3

func (f *FileFinder) FindLintFiles(logE *logrus.Entry, cfg *config.Config, cfgDir string) ([]*config.LintFile, error)

type Target

type Target struct {
	ID        string             `json:"id,omitempty"`
	LintFiles []*config.LintFile `json:"lint_files,omitempty"`
	DataFiles domain.Paths       `json:"data_files,omitempty"`
}

Jump to

Keyboard shortcuts

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