VirtualPath

Path within the virtual file system.

Path can be expressed as a sequence of Unicode Scalar Values (USVs). It can be either absolute or relative. The underlying file system may impose restrictions on the path length and the set of allowed characters.

The directory separator is always the forward-slash (/).

This class provides only basic validity and structural correctness of the path's byte representation (similar to validating a query string). It does not guarantee that the path exists on a specific file system, nor that querying the file system using this path will success.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val utf8Bytes: ByteString

UTF-8 representation of path. Not null terminated.

Link copied to clipboard

Number of bytes to represent the path in UTF8. Not null terminated

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String