scanner

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanDir

func ScanDir(root string, extraIgnores []string, store *cache.Store) (map[string][]Usage, error)

ScanDir walks a directory and returns a map of env var name -> []Usage. It uses the provided cache store to skip unchanged files.

Types

type Usage

type Usage struct {
	File string
	Line int
	Lang string
}

Usage records where an env var was found in source code

Jump to

Keyboard shortcuts

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