Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
FormatDuration returns a short human-readable duration string for logs.
Types ¶
type CommandStderr ¶
type CommandStderr struct {
// contains filtered or unexported fields
}
CommandStderr captures subprocess stderr and only mirrors it when verbose mode is enabled.
func NewCommandStderr ¶
func NewCommandStderr(visible io.Writer, verbose bool) *CommandStderr
NewCommandStderr creates a subprocess stderr writer for the selected verbosity.
func (*CommandStderr) String ¶
func (w *CommandStderr) String() string
String returns the captured stderr contents with surrounding whitespace trimmed.
Click to show internal directories.
Click to hide internal directories.