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

Unified Diff: sdk/lib/_internal/pub/lib/src/entrypoint.dart

Issue 344493003: Update doc comments to follow style guide. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/dart.dart ('k') | sdk/lib/_internal/pub/lib/src/error_group.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/entrypoint.dart
diff --git a/sdk/lib/_internal/pub/lib/src/entrypoint.dart b/sdk/lib/_internal/pub/lib/src/entrypoint.dart
index ce4d11f614433e0d5ebc2f772e82ceb2d993c0f2..ef8d1d21aff6849d42c970794434a95972b7d334 100644
--- a/sdk/lib/_internal/pub/lib/src/entrypoint.dart
+++ b/sdk/lib/_internal/pub/lib/src/entrypoint.dart
@@ -19,6 +19,8 @@ import 'source/cached.dart';
import 'system_cache.dart';
import 'utils.dart';
+/// The context surrounding the root package pub is operating on.
+///
/// Pub operates over a directed graph of dependencies that starts at a root
/// "entrypoint" package. This is typically the package where the current
/// working directory is located. An entrypoint knows the [root] package it is
@@ -147,7 +149,9 @@ class Entrypoint {
}
/// Loads the list of concrete package versions from the `pubspec.lock`, if it
- /// exists. If it doesn't, this completes to an empty [LockFile].
+ /// exists.
+ ///
+ /// If it doesn't, this completes to an empty [LockFile].
LockFile loadLockFile() {
if (!lockFileExists) return new LockFile.empty();
return new LockFile.load(lockFilePath, cache.sources);
@@ -243,8 +247,10 @@ class Entrypoint {
}
/// Loads the package graph for the application and all of its transitive
- /// dependencies. Before loading makes sure the lockfile and dependencies are
- /// installed and up to date.
+ /// dependencies.
+ ///
+ /// Before loading, makes sure the lockfile and dependencies are installed
+ /// and up to date.
Future<PackageGraph> loadPackageGraph() {
return _ensureLockFileIsUpToDate().then((_) {
var lockFile = loadLockFile();
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/dart.dart ('k') | sdk/lib/_internal/pub/lib/src/error_group.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698