Commit 92720c4
[analyzer] Accept optional FileContentCache in
The default `FileContentCache.ephemeral` reads files as bytes then
converts them to `String` and hashes them. `build_runner` does the
same, so by injecting a `FileContentCache` it can deduplicate the
work.
[email protected]
Change-Id: Id046fee8c98263719098c77981bbe10bd1b84658
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/408701
Commit-Queue: Morgan :) <[email protected]>
Auto-Submit: Morgan :) <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>build_resolvers.dart.1 parent 1c24e58 commit 92720c4
File tree
1 file changed
+3
-0
lines changed- pkg/analyzer/lib/src/clients/build_resolvers
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments