parse(_:)

Returns the state of the resource from the output of the shell command.

Dpkg.swift:40
static func parse(_ output: Data) throws -> Dpkg?

Parameters

output

The string output of the shell command.

Throws

Any errors parsing the output.