pub fn read_dir(
root: &Path,
source_prefix: &str,
) -> Result<BTreeMap<String, ProtoFile>, Error>Expand description
Every .proto under a schema root, keyed by the identity each declares, parsed. A root
that does not exist yields nothing. A file whose declared identity disagrees with its
path is an error naming both.