security

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scan

func Scan(ctx context.Context, root string, patterns, skipDirs []string) (paths, symlinkMatches []string, err error)

Scan returns sorted regular-file matches and symlink matches separately. WalkDir does not follow symlinks, so callers must warn that they remain unmasked. Empty patterns skip the walk. root must be absolute and resolved; patterns must be valid filepath.Match globs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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