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 69ecdd9 commit ae4262cCopy full SHA for ae4262c
src/mingwX64Main/kotlin/File.kt
@@ -7,12 +7,10 @@ import platform.windows.*
7
private const val EPOCH_DIFF = 11644473600000
8
9
10
-actual class File {
+actual class File actual constructor(pathname: String) {
11
12
private val pathname: String = pathname.replace('/', filePathSeparator)
13
14
- actual constructor(pathname: String)
15
-
16
actual fun getParent(): String? {
17
return if (exists()) getAbsolutePath().substringBeforeLast(filePathSeparator) else null
18
}
0 commit comments