readers

package
v0.0.33 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalFSReader

type LocalFSReader struct {
}

func (*LocalFSReader) Exists

func (r *LocalFSReader) Exists(path string) bool

func (*LocalFSReader) FindFiles

func (r *LocalFSReader) FindFiles(path string, patterns []string, maxDepth int) ([]string, error)

func (*LocalFSReader) ReadFile

func (r *LocalFSReader) ReadFile(path string) ([]byte, error)

type LocalFileFinder

type LocalFileFinder struct {
	Patterns   []string
	FoundFiles []string
	MaxDepth   int
}

Jump to

Keyboard shortcuts

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