Make it possible to control whether the `rootUri` path is relativized. (dart-lang/package_config#102)

* Make it possible to control whether the `rootUri` path is relativized.

Adds `relativeRoot` boolean to `PackageConfig` which does nothing
except to control whether the `root` URI is made relative to the
configuration file when written to a configuration file.

The parsers remember whether the root URI was relative originally.

Also fixes bad cast.
9 files changed
tree: 406d19c0554fb02f772486dd2dfe04095101f3da
  1. pkgs/