volumeLetter

expect val volumeLetter: Char?

This is the volume letter like "C" on Windows paths that starts with a volume letter. For example, on the path "C:\Windows" this returns "C". This property is null if this is not a Windows path, or if it doesn't have a volume letter.

Note that paths that start with a volume letter are not necessarily absolute paths. For example, the path "C:notepad.exe" is relative to whatever the current working directory is on the C: drive.

@get:JvmName(name = "volumeLetter")
actual val volumeLetter: Char?
actual val volumeLetter: Char?