Incorrect result from Directory.existsSync() #3324
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-cannot-reproduce
Closed as we were unable to reproduce the reported issue
library-io
os-windows
Directory.existsSync() reports false even when the directory does exist:
Directory dir = ...
if (!dir.existsSync()) {
try {
dir.createSync(); // throws DirectoryIOException
} catch (DirectoryIOException e) {
print("$dir does exists");
}
}
The text was updated successfully, but these errors were encountered: