Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileScanner ¶
type FileScanner struct {
// contains filtered or unexported fields
}
FileScanner is an interface that can scan for Earthfiles at the given paths.
func NewFileScanner ¶
func NewFileScanner( paths []string, parser pkg.EarthfileParser, fs afero.Fs, ) *FileScanner
NewFileScanner creates a new FileScanner.
func (*FileScanner) ScanForTarget ¶
func (f *FileScanner) ScanForTarget(target string) ([]pkg.Earthfile, error)
Click to show internal directories.
Click to hide internal directories.