pub fn read_adapter_binding(
path: &Path,
overlay: &HashMap<PathBuf, String>,
) -> Result<String>Expand description
An adapter’s .binding.ts module: overlay-first (an open, unsaved
binding buffer), else a real disk read. Content-ownership track (#1086)
scope note, found under slice 5’s implementation: unlike a project’s
.bynk sources — enumerable ahead of time by extension, and this
track’s actual charter — a binding module’s path is only known once
its declaring adapter has been parsed (adapter … { binding: "…" }), so
no discovery walk (bynk-testkit, bynk-driver::discovery) can
pre-populate it into a sources map the way .bynk files are. Keeping a
disk-read fallback here — the CLI’s real production path has always
worked exactly this way, #1077/#1081 notwithstanding — is a
deliberate, narrow carve-out, not a straggler.