Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScanOptions ¶
type ScanOptions struct {
Recursive bool
IncludeHidden bool
FollowSymlinks bool
Exclusions []string // Names, patterns, or relative directories to skip
IgnoreDirs []string // Output directories being created by CHEST
ClassifyFunc func(filename, ext string) string // Optional: overrides built-in classifier
ExtractDates bool // Read embedded media dates when available
// EnrichFunc optionally enriches a scanned file record after built-in
// metadata detection, e.g. via external metadata plugins. It returns the
// (possibly modified) file and true when it produced enrichment. Called
// once per file; must be safe for concurrent use during recursive scans.
EnrichFunc func(file models.File) (models.File, bool)
}
ScanOptions configures scanner behavior
Click to show internal directories.
Click to hide internal directories.