ignorewalk

package
v0.0.0-...-aa36cb2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(root string, fn filepath.WalkFunc, walkOpt ...WalkOption) error

Types

type WalkOption

type WalkOption func(w *walker) error

func WithIgnoreFiles

func WithIgnoreFiles(ignoreFiles []string) WalkOption

WithIgnoreFiles specifies filename to treat as ignore files. E.g., [".gitignore", ".dockerignore"].

Jump to

Keyboard shortcuts

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