Refactor walker to expose WalkOverrides (combined + per-source matchers), add walk_files_with_skips that returns accepted files alongside skip attribution, wire FsSourceConnector::scan_with_skips into kebab-app so IngestReport.skipped_gitignore, skipped_kebabignore, skipped_builtin_blacklist, and skip_examples are populated instead of left at zero. Priority order per spec §5.2 (builtin > gitignore > kebabignore) enforced in classify_skip, with a directory-aware builtin matcher so pruned directory entries are correctly attributed to builtin rather than a coincident gitignore entry. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
573 B
Rust
17 lines
573 B
Rust
//! `kb-source-fs` — local filesystem `SourceConnector`.
|
||
//!
|
||
//! Walks `config.workspace.root`, applies gitignore-style filters from
|
||
//! `config.workspace.exclude` ∪ `.kebabignore`, computes BLAKE3 of every file,
|
||
//! and emits `Vec<RawAsset>` sorted by `workspace_path` for determinism.
|
||
//!
|
||
//! Per design §3.3 (RawAsset), §6.2 (workspace + .kebabignore), §6.6 (POSIX
|
||
//! normalization), §7.1 (SourceScope), §7.2 (SourceConnector), §8 (module
|
||
//! boundaries).
|
||
|
||
mod connector;
|
||
mod hash;
|
||
mod media;
|
||
mod walker;
|
||
|
||
pub use connector::{FsScanSkips, FsSourceConnector};
|