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.
isDeletableFile
1 parent 0b3974d commit e90b6c3Copy full SHA for e90b6c3
Sources/FoundationEssentials/FileManager/FileManager+Files.swift
@@ -461,7 +461,7 @@ extension _FileManagerImpl {
461
parent = fileManager.currentDirectoryPath
462
}
463
464
-#if os(Windows)
+#if os(Windows) || os(WASI)
465
return fileManager.isWritableFile(atPath: parent) && fileManager.isWritableFile(atPath: path)
466
#else
467
guard fileManager.isWritableFile(atPath: parent),
0 commit comments