walk

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Include      []string
	Exclude      []string
	MaxFileBytes int64
	SkipBinary   bool
}

Options control filesystem walking.

type Walker

type Walker struct {
	Opts Options
}

Walker walks local directories.

func (Walker) Walk

func (w Walker) Walk(ctx context.Context, roots []string, fn ports.WalkFunc) error

Jump to

Keyboard shortcuts

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