pub fn load_package_sources(
package_dir: &Path,
root: SourceRoot,
) -> Result<SourceFiles, CompilationError>Expand description
Walk one of a package’s source roots into a database of its own.
Nothing else can be in that database, so a file is named by its place in the
package and nothing more — see load_package_sources_into for the build case,
where that name is not unique.