Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: lib/src/cached_package.dart

Issue 2165423002: Add support for Flutter SDK constraints. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | lib/src/entrypoint.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'package:path/path.dart' as p; 5 import 'package:path/path.dart' as p;
6 import 'package:pub_semver/pub_semver.dart'; 6 import 'package:pub_semver/pub_semver.dart';
7 import 'package:yaml/yaml.dart'; 7 import 'package:yaml/yaml.dart';
8 8
9 import 'barback/transformer_config.dart'; 9 import 'barback/transformer_config.dart';
10 import 'io.dart'; 10 import 'io.dart';
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 /// A pubspec wrapper that reports no transformers. 64 /// A pubspec wrapper that reports no transformers.
65 class _CachedPubspec implements Pubspec { 65 class _CachedPubspec implements Pubspec {
66 final Pubspec _inner; 66 final Pubspec _inner;
67 67
68 YamlMap get fields => _inner.fields; 68 YamlMap get fields => _inner.fields;
69 String get name => _inner.name; 69 String get name => _inner.name;
70 Version get version => _inner.version; 70 Version get version => _inner.version;
71 List<PackageDep> get dependencies => _inner.dependencies; 71 List<PackageDep> get dependencies => _inner.dependencies;
72 List<PackageDep> get devDependencies => _inner.devDependencies; 72 List<PackageDep> get devDependencies => _inner.devDependencies;
73 List<PackageDep> get dependencyOverrides => _inner.dependencyOverrides; 73 List<PackageDep> get dependencyOverrides => _inner.dependencyOverrides;
74 PubspecEnvironment get environment => _inner.environment; 74 VersionConstraint get dartSdkConstraint => _inner.dartSdkConstraint;
75 VersionConstraint get flutterSdkConstraint => _inner.flutterSdkConstraint;
75 String get publishTo => _inner.publishTo; 76 String get publishTo => _inner.publishTo;
76 Map<String, String> get executables => _inner.executables; 77 Map<String, String> get executables => _inner.executables;
77 bool get isPrivate => _inner.isPrivate; 78 bool get isPrivate => _inner.isPrivate;
78 bool get isEmpty => _inner.isEmpty; 79 bool get isEmpty => _inner.isEmpty;
79 List<PubspecException> get allErrors => _inner.allErrors; 80 List<PubspecException> get allErrors => _inner.allErrors;
80 81
81 List<Set<TransformerConfig>> get transformers => const []; 82 List<Set<TransformerConfig>> get transformers => const [];
82 83
83 _CachedPubspec(this._inner); 84 _CachedPubspec(this._inner);
84 } 85 }
OLDNEW
« no previous file with comments | « no previous file | lib/src/entrypoint.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698