InstallLayoutDirectory

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

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
open fun asOutputResource(symlink: Boolean = false): OutputResource

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.