Prefix

data class Prefix(path: String)

Convenient class for constructing Spec/Config/Source with prefix.

Constructors

Prefix
Link copied to clipboard
fun Prefix(path: String = "")

Functions

plus
Link copied to clipboard
operator fun plus(config: Config): Config
Returns a config with this prefix.
operator fun plus(spec: Spec): Spec
Returns a config spec with this prefix.
operator fun plus(source: Source): Source
Returns a source with this prefix.

Properties

path
Link copied to clipboard
val path: String
The path of the prefix

Sources

jvm source
Link copied to clipboard