Returns the volume name component of the path.
On Linux and macOS, paths do not have volume names, so this method always returns an empty string. On Windows, this would return a drive letter like "C:".
Example:
var path = new Path ("/home/user");
assert (path.volumeName () == "");
|
the volume name, or "" if not applicable. |