pub fn read_bynk_tree(
root: &Path,
excludes: &[PathBuf],
) -> Result<HashMap<PathBuf, String>, DiscoveryError>Expand description
Walk root for every .bynk file (skipping excludes and hidden
directories, mirroring bynk-emit’s former discover_bynk_files exactly)
and read each one’s content. Keys are the same literal (non-canonicalised)
path shape a plain recursive walk produces — CompileOptions.sources’s own
contract, and what read_source’s overlay lookup tries first.