Documentation
¶
Overview ¶
Package execution provides types and functions for handling process execution results.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Execution ¶
type Execution struct {
// contains filtered or unexported fields
}
Execution represents the result of executing a process.
func NewExecution ¶
NewExecution creates a new Execution instance with the provided output bytes and error.
Parameters:
- bb: A byte slice representing the output of the execution.
- err: An error representing any error that occurred during execution.
func (Execution) Failed ¶
Failed indicates whether the execution failed based on the presence of an error.
Click to show internal directories.
Click to hide internal directories.