pub fn bind_file(
rel: &str,
blob: &ParseBlob,
facts: &ViewBindingFacts<'_>,
cache: Option<&ViewBindingDependencies>,
) -> Result<(DbFileIndex, ViewBindingDependencies), ManifestJoinError>Expand description
Binds one file’s parse against its checkout’s path facts. Returns the
file’s resolver surface, and its binding: which paths each reference’s
binding probed, and the paths and configuration fields binding consulted.
With cache, reference dependencies come from that earlier binding of the
same parse instead of being recorded again.