Required Static Methodheckj.formic 0.3.0Formic

query(from:logger:)

Queries the state of the resource from the given host.

SingularResource.swift:18
static func query(from: RemoteHost, logger: Logger?) async throws -> (Self?, Date)

Parameters

from

The host to inspect.

logger

An optional logger to record the command output or errors.

Returns

The state of the resource.