commit | 3d90e6955ef19b7ce4f1b742a06a20ed4260700a | [log] [tgz] |
---|---|---|
author | Michael Thomsen <mit@google.com> | Tue Mar 05 01:20:14 2024 +0100 |
committer | GitHub <noreply@github.com> | Mon Mar 04 16:20:14 2024 -0800 |
tree | 723bb4621d275480aa3b1817596dd41e6a545f96 | |
parent | 4a7042bb286cf0b41b26e87972bc28bda535f8b9 [diff] |
Fix typo (#149)
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.