Path

@Serializable
@SerialName(value = "path")
data class Path(val relativePath: String) : RequestedTarget

A path below the storage root, such as notes/ or photos/2026/trip.jpg. A trailing / names a container, which covers its subtree once granted. Leading slashes are ignored.

Constructors

Link copied to clipboard
constructor(relativePath: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
fun resolveAgainst(storageRoot: String): String?

The absolute IRI of this path inside storageRoot, or null when the path cannot be placed there: it is blank, it carries a scheme, it has an empty segment, or it steps with . or ...

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)