Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize file rewrites in
.metals/readonly/dependencies
Previously, `toFileOnDisk` was always updating dependency source files in order to keep them up to date. After introducing `.metals/.readonly/dependencies/$jar-name` directories, it is possible to check if the source file is up to date and avoid non-necessary rewrites. Now, this function also write `jar.meta` file that contains original jar path and modified time that is used for this purpose.
- Loading branch information
Showing
1 changed file
with
81 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters