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

Unified Diff: pkg/path/README.md

Issue 62753005: Refactor pkg/path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 7 years, 1 month 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 | « no previous file | pkg/path/lib/path.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/path/README.md
diff --git a/pkg/path/README.md b/pkg/path/README.md
index eff60de4a959b9db39c657f734463f31872535a5..2e3eec1b746f6ea199533d215b3b1faf45f36555 100644
--- a/pkg/path/README.md
+++ b/pkg/path/README.md
@@ -7,7 +7,7 @@ We've tried very hard to make this library do the "right" thing on whatever
platform you run it on, including in the browser. When you use the top-level
functions, it will assume the current platform's path style and work with
that. If you want to explicitly work with paths of a specific style, you can
-construct a `path.Builder` for that style.
+construct a `path.Context` for that style.
## Using
@@ -27,10 +27,10 @@ This calls the top-level [join] function to join "directory" and
If you want to work with paths for a specific platform regardless of the
underlying platform that the program is running on, you can create a
-[Builder] and give it an explicit [Style]:
+[Context] and give it an explicit [Style]:
- var builder = new path.Builder(style: Style.windows);
- builder.join("directory", "file.txt");
+ var context = new path.Context(style: Style.windows);
+ context.join("directory", "file.txt");
This will join "directory" and "file.txt" using the Windows path separator,
even when the program is run on a POSIX machine.
« no previous file with comments | « no previous file | pkg/path/lib/path.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698