Commit Graph

3 Commits

Author SHA1 Message Date
nweiz@google.com bcdb64e20e Refactor pkg/path.
This CL does several things:

* Splits lib/path.dart into multiple libraries.

* Renames "Builder" to "Context".

* Makes the Context API match the top-level functions ("root" was
  renamed to "current" and "resolve" was renamed to "absolute").

* The top-level "absolute" function now takes multiple parts, to match
  [Context.absolute].

R=rnystrom@google.com
BUG=14981

Review URL: https://codereview.chromium.org//62753005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30423 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 20:48:45 +00:00
nweiz@google.com 78c89f7ad9 Add isWithin to pkg/path.
R=rnystrom@google.com
BUG=14980

Review URL: https://codereview.chromium.org//59483008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30317 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-15 22:05:14 +00:00
whesse@google.com 23db6345ab Port dart:io Path tests to package:path.
BUG=
R=nweiz@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//19231002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25403 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-24 08:45:18 +00:00