Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/io/PlainFile.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Stucki <[email protected]>
  • Loading branch information
OlegYch and nicolasstucki authored Apr 17, 2024
1 parent 52c5c14 commit 2970646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/io/PlainFile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class PlainFile(val givenPath: Path) extends AbstractFile {
}

/** Is this abstract file a directory? */
val isDirectory: Boolean = givenPath.isDirectory
val isDirectory: Boolean = givenPath.isDirectory // cached for performance on Windows

/** Returns the time that this abstract file was last modified. */
def lastModified: Long = givenPath.lastModified.toMillis
Expand Down

0 comments on commit 2970646

Please sign in to comment.