MCPcopy
hub / github.com/slimtoolkit/slim / NewMergeCommand

Function NewMergeCommand

pkg/report/command_report.go:398–410  ·  view source on GitHub ↗

NewMergeCommand creates a new 'edit' command report

(reportLocation string, containerized bool)

Source from the content-addressed store, hash-verified

396
397// NewMergeCommand creates a new 'edit' command report
398func NewMergeCommand(reportLocation string, containerized bool) *MergeCommand {
399 cmd := &MergeCommand{
400 Command: Command{
401 reportLocation: reportLocation,
402 Version: OVMergeCommand, //edit command 'results' version (report and artifacts)
403 Type: command.Merge,
404 State: command.StateUnknown,
405 },
406 }
407
408 cmd.Command.init(containerized)
409 return cmd
410}
411
412// NewEditCommand creates a new 'edit' command report
413func NewEditCommand(reportLocation string, containerized bool) *EditCommand {

Callers 1

OnCommandFunction · 0.92

Calls 1

initMethod · 0.45

Tested by

no test coverage detected