Skip to content

Commit 3025cf3

Browse files
committed
Rewording
1 parent 661fd04 commit 3025cf3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/src/model_utils.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,10 @@ Iterable<Class> findCanonicalFor(Iterable<Class> classes) {
9696
c.packageGraph.findCanonicalModelElementFor(c.element) as Class ?? c);
9797
}
9898

99-
/// Uses direct file access to get the contents of a file, out of a
100-
/// cache if possible.
99+
/// Uses direct file access to get the contents of a file. Cached.
101100
///
102101
/// Direct reading of source code via a [PhysicalResourceProvider] is not
103-
/// allowed in some environments, so avoid this where possible.
102+
/// allowed in some environments, so avoid using this.
104103
// TODO(jcollins-g): consider deprecating this and the `--include-source`
105104
// feature that uses it now that source code linking is possible.
106105
String getFileContentsFor(Element e, ResourceProvider resourceProvider) {

0 commit comments

Comments
 (0)