walker

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package walker enumerates files in a directory tree, applying include/exclude rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files(opts Options) (<-chan string, <-chan error)

Files walks Root and emits absolute paths of files that pass the filters. Errors during walk are sent on the returned error channel and the producer closes both channels when done.

Types

type Options

type Options struct {
	Root       string
	IgnoreDirs map[string]bool
	IgnoreRels map[string]bool
	Exts       map[string]bool
}

Jump to

Keyboard shortcuts

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