@@ -133,6 +133,11 @@ class DartUri {
133
133
/// All of the known libraries, indexed by their absolute file URL.
134
134
static final Map <String , String > _resolvedUriToUri = {};
135
135
136
+ /// Returns a resolved path for a g3-relative URI.
137
+ ///
138
+ /// This map is empty if not a google3 app.
139
+ static final Map <String , String > _g3RelativeUriToResolvedUri = {};
140
+
136
141
/// Returns package, app, or dart uri for a resolved path.
137
142
static String ? toPackageUri (String uri) {
138
143
final packageUri = _resolvedUriToUri[uri];
@@ -152,11 +157,6 @@ class DartUri {
152
157
/// Returns resolved path for a package, app, or dart uri.
153
158
static String ? toResolvedUri (String uri) => _uriToResolvedUri[uri];
154
159
155
- /// Returns a resolved path for a g3-relative URI.
156
- ///
157
- /// This map is empty if not a google3 app.
158
- static final Map <String , String > _g3RelativeUriToResolvedUri = {};
159
-
160
160
/// The directory in which we're running.
161
161
///
162
162
/// We store this here because for tests we may want to act as if we're
@@ -178,6 +178,7 @@ class DartUri {
178
178
_packageConfig = null ;
179
179
_resolvedUriToUri.clear ();
180
180
_uriToResolvedUri.clear ();
181
+ _g3RelativeUriToResolvedUri.clear ();
181
182
}
182
183
183
184
/// Record all of the libraries, indexed by their absolute file: URI.
0 commit comments