We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661fd04 commit 3025cf3Copy full SHA for 3025cf3
lib/src/model_utils.dart
@@ -96,11 +96,10 @@ Iterable<Class> findCanonicalFor(Iterable<Class> classes) {
96
c.packageGraph.findCanonicalModelElementFor(c.element) as Class ?? c);
97
}
98
99
-/// Uses direct file access to get the contents of a file, out of a
100
-/// cache if possible.
+/// Uses direct file access to get the contents of a file. Cached.
101
///
102
/// Direct reading of source code via a [PhysicalResourceProvider] is not
103
-/// allowed in some environments, so avoid this where possible.
+/// allowed in some environments, so avoid using this.
104
// TODO(jcollins-g): consider deprecating this and the `--include-source`
105
// feature that uses it now that source code linking is possible.
106
String getFileContentsFor(Element e, ResourceProvider resourceProvider) {
0 commit comments