walker

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package walker provides a gitignore-aware file walker that returns all source files worth indexing from a given root directory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(root string, extraIgnore []string) ([]string, error)

Walk traverses root and returns a sorted slice of relative paths for all source files that are not excluded by .gitignore rules or alwaysIgnoreDirs. extraIgnore is an optional list of additional gitignore-style patterns to skip; it may be nil or empty to preserve the previous behaviour.

Types

This section is empty.

Jump to

Keyboard shortcuts

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