Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
570 changes: 1 addition & 569 deletions crates/fbuild-build/src/source_scanner.rs

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions crates/fbuild-build/src/source_scanner/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# `source_scanner/`

Sibling-directory submodules for `source_scanner.rs` (the project source
discovery + filtering + prototype-extraction code). Today this is just
`tests.rs` — the original `#[cfg(test)] mod tests { ... }` block was
lifted out of the parent file as a separate file so the parent stays
under the 1000-LOC gate (see `.github/workflows/loc-gate.yml`).

When growing this module, prefer cohesive per-domain submodules
(`filter.rs` for the include/exclude rule engine, `prototypes.rs` for
the tree-sitter-based forward-declaration extraction, …) over letting
the parent file balloon back over the limit. The split convention is
documented in the root `CLAUDE.md`.
Loading
Loading