Index: pkg/path/lib/path.dart |
diff --git a/pkg/path/lib/path.dart b/pkg/path/lib/path.dart |
index 6f522c5bc7456bfe6f98d0fa112fc5544ddd5fc4..7ff858ce44e90c97420c82af19482e95195f6789 100644 |
--- a/pkg/path/lib/path.dart |
+++ b/pkg/path/lib/path.dart |
@@ -79,6 +79,11 @@ Context get _context { |
} |
Context _cachedContext; |
+/// Returns the [Style] of the current context. |
+/// |
+/// This is the style that all top-level path functions will use. |
+Style get style => _context.style; |
+ |
/// Gets the path to the current working directory. |
/// |
/// In the browser, this means the current URL, without the last file segment. |