FileLocator

data class FileLocator constructor(val path: String, val display: String? = null) : SourceLocator

A locator that points at a resource by file path.

Note that raw paths are environment-specific; prefer ContentAddressedLocator for shareable outputs where a path would not be portable.

Constructors

Link copied to clipboard
constructor(path: String, display: String? = null)

Properties

Link copied to clipboard
open override val display: String? = null

Optional human-readable label

Link copied to clipboard

The file system path referencing the source resource

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
open override fun key(): String

A stable, comparable key identifying this locator.