commit | 854dc194131af8e2c16ef46ad210af9b2ef45fa9 | [log] [tgz] |
---|---|---|
author | Lasse R.H. Nielsen <lrn@google.com> | Thu Apr 11 08:56:47 2024 +0200 |
committer | GitHub <noreply@github.com> | Thu Apr 11 08:56:47 2024 +0200 |
tree | 1fe8243b4fb7ac5842da5f968b2677c1facb2c37 | |
parent | 486cc4b29fb361efd1f05cc7e07fb3be4132b139 [diff] |
Fix typos. (#147) The wonders of in-IDE spell checking. Also ask for newest lints (no changes needed).
Support for working with Package Configuration files as described in the Package Configuration v2 design document.
A Dart package configuration file is used to resolve Dart package names (e.g. foobar
) to Dart files containing the source code for that package (e.g. file:///Users/myuser/.pub-cache/hosted/pub.dartlang.org/foobar-1.1.0
). The standard package configuration file is .dart_tool/package_config.json
, and is written by the Dart tool when the command dart pub get
is run.
The primary libraries of this package are
package_config.dart
: Defines the PackageConfig
class and other types needed to use package configurations, and provides functions to find, read and write package configuration files.
package_config_types.dart
: Just the PackageConfig
class and other types needed to use package configurations. This library does not depend on dart:io
.
The package includes deprecated backwards compatible functionality to work with the .packages
file. This functionality will not be maintained, and will be removed in a future version of this package.