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 b761de0 commit 6bad425Copy full SHA for 6bad425
core/mingw/src/files/FileSystemMingw.kt
@@ -39,6 +39,7 @@ internal actual fun atomicMoveImpl(source: Path, destination: Path) {
39
}
40
41
internal actual fun dirnameImpl(path: String): String {
42
+ val path = path.replace(UnixPathSeparator, WindowsPathSeparator)
43
memScoped {
44
val p = path.wcstr.ptr
45
// we don't care the result, even it failed.
0 commit comments