InstallLayoutFile

data class InstallLayoutFile(val file: File) : InstallLayoutEntry

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: File)

Properties

Link copied to clipboard
open override val file: File

The filesystem 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

Wraps this entry as an OutputResource for the pipeline to output.

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

Whether this entry exists on disk 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.