Packages

Pure Elixir tools for systemd unit files and D-Bus manager control

Current section

Files

Jump to
systemdkit lib systemd unit_file directive.ex
Raw

lib/systemd/unit_file/directive.ex

defmodule Systemd.UnitFile.Directive do
@moduledoc """
Key/value directive in a systemd unit file.
Duplicate directives are valid and preserved.
"""
alias Systemd.UnitFile.Span
@type t :: %__MODULE__{name: String.t(), value: String.t(), span: Span.t() | nil}
defstruct [:name, :span, value: ""]
end