scanner

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIgnoreMatcher added in v0.3.1

func NewIgnoreMatcher(root string, opts ScanOptions) (func(relPath string) bool, error)

Types

type FileEntry

type FileEntry struct {
	Path       string
	RelPath    string
	Size       int64
	ModifiedAt int64
}

func ScanDir

func ScanDir(root string) ([]FileEntry, error)

func ScanDirOpts

func ScanDirOpts(root string, opts ScanOptions) ([]FileEntry, error)

type ScanOptions

type ScanOptions struct {
	NoGitignore bool
}

Jump to

Keyboard shortcuts

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