Index: pkg/path/lib/src/parsed_path.dart |
diff --git a/pkg/path/lib/src/parsed_path.dart b/pkg/path/lib/src/parsed_path.dart |
index 57773eee7b5884ba6394d50bafb6b2453ded8d06..a7b0afd3bf1662eee670ff63328b9b089a9922e8 100644 |
--- a/pkg/path/lib/src/parsed_path.dart |
+++ b/pkg/path/lib/src/parsed_path.dart |
@@ -45,7 +45,7 @@ class ParsedPath { |
// Remove the root prefix, if any. |
var root = style.getRoot(path); |
- var isRootRelative = style.getRelativeRoot(path) != null; |
+ var isRootRelative = style.isRootRelative(path); |
if (root != null) path = path.substring(root.length); |
// Split the parts on path separators. |