Vapor Documentation Beta

Structure Dot​Env​File.​Line

public struct Line: CustomStringConvertible, Equatable

Represents a KEY=VALUE pair in a dotenv file.

%3 DotEnvFile.Line DotEnvFile.Line Equatable Equatable DotEnvFile.Line->Equatable CustomStringConvertible CustomStringConvertible DotEnvFile.Line->CustomStringConvertible

Member Of

DotEnvFile

Reads dotenv (.env) files and loads them into the current process.

Conforms To

CustomStringConvertible
Equatable

Properties

key

let key: String

The key.

value

let value: String

The value.

description

var description: String

CustomStringConvertible conformance.