class Git::CommandLineResult
@api public
This object stores the Git command executed and its status, stdout, and stderr.
The result of running a git command
def initialize(git_cmd, status, stdout, stderr)
-
stderr
(String
) -- the error output of the process -
stdout
(String
) -- the output of the process -
status
(Process::Status
) -- the status of the process -
git_cmd
(Array
) -- the git command that was executed
def initialize(git_cmd, status, stdout, stderr) @git_cmd = git_cmd @status = status @stdout = stdout @stderr = stderr end