fileextractor

package
v1.3.168 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtractParams

type ExtractParams struct {
	SearchPath string
	Excludes   []string
	Expression string
}

type FileExtractor

type FileExtractor struct {
	Founds []string
}

func NewFileExtractor

func NewFileExtractor() *FileExtractor

func (*FileExtractor) Extract

func (l *FileExtractor) Extract(params ExtractParams) ([]string, error)

func (*FileExtractor) ExtractFromFile added in v1.0.79

func (l *FileExtractor) ExtractFromFile(pathToread string, expression string)

Jump to

Keyboard shortcuts

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