package_config.discovery_analysis library

Analyse a directory structure and find packages resolvers for each sub-directory.

The resolvers are generally the same that would be found by using the discovery.dart library on each sub-directory in turn, but more efficiently and with some heuristics for directories that wouldn't otherwise have a package resolution strategy, or that are determined to be "package directories" themselves.

Classes

PackageContext
Associates a Packages package resolution strategy with a directory. [...]