parentPath

@get:JvmName(name = "parentPathOf")
val File.parentPath: String?(source)

The path parent.

e.g.

assertEquals("hello", "hello/world".toFile().parentPath)
assertNull("world".toFile().parentPath)

Return

The parent of path, otherwise null if not available