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 52c5c14 commit 2970646Copy full SHA for 2970646
compiler/src/dotty/tools/io/PlainFile.scala
@@ -77,7 +77,7 @@ class PlainFile(val givenPath: Path) extends AbstractFile {
77
}
78
79
/** Is this abstract file a directory? */
80
- val isDirectory: Boolean = givenPath.isDirectory
+ val isDirectory: Boolean = givenPath.isDirectory // cached for performance on Windows
81
82
/** Returns the time that this abstract file was last modified. */
83
def lastModified: Long = givenPath.lastModified.toMillis
0 commit comments