localwalker

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalfile

func NewLocalfile(filePath string) types.FileReader

Types

type LocalFile

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

func (*LocalFile) Close

func (f *LocalFile) Close() (io.ReadCloser, error)

func (*LocalFile) FilePath

func (f *LocalFile) FilePath() string

func (*LocalFile) Open

func (f *LocalFile) Open() (io.ReadCloser, error)

func (*LocalFile) Stat

func (f *LocalFile) Stat() (fs.FileInfo, error)

type LocalWalker

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

func New

func New(e *fileevaluator.FileEvaluator, basePath string, dir string) *LocalWalker

func (*LocalWalker) GetFiles

func (f *LocalWalker) GetFiles() ([]types.FileReader, error)

Jump to

Keyboard shortcuts

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