Skip to main content

Crate scanner

Crate scanner 

Source
Expand description

Stable public API for filesystem scanning (ScanOptions, scan, FileRecord, …).

In-repo crates under scanner/crates/* are implementation details; depend on this package for integration (e.g. workers, tools).

Structs§

FileRecord
FilterOptions
Options for WalkBuilder (gitignore, hidden files, custom globs).
IdentityInfo
PartialOptions
Tiered read: first head bytes + last tail bytes (if file larger than head + tail).
ScanOptions
ScanProgress
Scanner
Thin handle around ScanOptions for callers that prefer an object API.

Enums§

ScanError
WalkMode
XxhashMode

Functions§

scan
Walk opts.roots and write one NDJSON line per file to writer.
scan_with_callbacks