# Functions
AllMatch compares two slices of UnitOptions and returns true if they are identical.
Deserialize parses a systemd unit file into a list of UnitOptions.
DeserializeOptions parses a systemd unit file into a list of UnitOptions.
DeserializeSections deserializes into a list of UnitSections.
NewUnitOption returns a new UnitOption instance with pre-set values.
Serialize encodes all of the given UnitOption objects into a unit file.
SerializeSections will serializes the unit file from the given UnitSections.
UnitNameEscape escapes a string as `systemd-escape` would.
UnitNamePathEscape escapes a string as `systemd-escape --path` would.
UnitNamePathUnescape unescapes a string as `systemd-escape --path --unescape` would.
UnitNameUnescape unescapes a string as `systemd-escape --unescape` would.
# Constants
SYSTEMD_LINE_MAX mimics the maximum line length that systemd can use.
SYSTEMD_NEWLINE defines characters that systemd considers indicators for a newline.
# Variables
ErrLineTooLong gets returned when a line is too long for systemd to handle.
# Structs
UnitEntry is a single line entry in a Unit file.
UnitOption represents an option in a systemd unit file.
UnitSection is a section in a Unit file.