Crate bootc_internal_utils

Source
Expand description

The inevitable catchall “utils” crate. Generally only add things here that only depend on the standard library and “core” crates.

Structs§

PathQuotedDisplay
Helper to format a path.

Traits§

AsyncCommandRunExt
Helpers intended for tokio::process::Command.
CommandRunExt
Helpers intended for std::process::Command.
ExitStatusExt
Helpers intended for std::process::ExitStatus.

Functions§

collect_until
Gather the first N items, and provide the count of the remaining items. The max count cannot be zero as that’s a pathological case.
initialize_tracing
Initialize tracing with the default configuration.
iterator_split
Given an iterator that’s cloneable, split it into two iterators at a given maximum number of elements.
try_deserialize_timestamp
Try to parse an RFC 3339, warn on error.