InstallLayoutFile

An InstallLayoutEntry that represents a regular file. exists returns true only if the path is an existing regular file.

Constructors

Link copied to clipboard
constructor(file: FsEntry)

Properties

Link copied to clipboard
open override val file: FsEntry

The file system location this entry points to.

Link copied to clipboard
open val name: String

Short name of this entry (file name)

Functions

Link copied to clipboard
open fun asOutputResource(symlink: Boolean = false): OutputResource

Wraps this entry as an OutputResource for the pipeline to output. Disk-backed entries are copied by reference, while virtual entries are materialized in memory.

Link copied to clipboard
open override fun exists(): Boolean

Whether this entry exists with the expected type (file vs. directory).

Link copied to clipboard

Resolves a child directory relative to this entry's file.

Link copied to clipboard
open fun resolveFile(relativePath: String): InstallLayoutFile

Resolves a child file relative to this entry's file.