Help us shape the future of Go! Take the 2026 Go Developer Survey

readers

package
v0.17.17 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 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) GetRepoName added in v0.0.34

func (*LocalFSReader) GetRepoName() (string, error)

GetRepoName returns the name of the current directory, which is an approximation of the repo name

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