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

Unified Diff: pkg/analyzer/lib/file_system/file_system.dart

Issue 1223833008: Package map source factory support [FIXED]. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
Index: pkg/analyzer/lib/file_system/file_system.dart
diff --git a/pkg/analyzer/lib/file_system/file_system.dart b/pkg/analyzer/lib/file_system/file_system.dart
index 62c158b12447cd8021f4da0ea0ec1547e2c7b473..899d6c5bf6227ad7b2ff4b2e8f349f96e0913e88 100644
--- a/pkg/analyzer/lib/file_system/file_system.dart
+++ b/pkg/analyzer/lib/file_system/file_system.dart
@@ -139,6 +139,20 @@ abstract class ResourceProvider {
Context get pathContext;
/**
+ * Return a [File] that corresponds to the given [path].
+ *
+ * A file may or may not exist at this location.
+ */
+ File getFile(String path);
+
+ /**
+ * Return a [Folder] that corresponds to the given [path].
+ *
+ * A folder may or may not exist at this location.
+ */
+ Folder getFolder(String path);
+
+ /**
* Return the [Resource] that corresponds to the given [path].
*/
Resource getResource(String path);
« no previous file with comments | « no previous file | pkg/analyzer/lib/file_system/memory_file_system.dart » ('j') | pkg/analyzer/lib/src/generated/source.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698