MCPcopy
hub / github.com/dgraph-io/dgraph / ExecWithOpts

Function ExecWithOpts

testutil/exec.go:41–44  ·  view source on GitHub ↗

ExecWithOpts runs a single external command with the given options.

(argv []string, opts CmdOpts)

Source from the content-addressed store, hash-verified

39
40// ExecWithOpts runs a single external command with the given options.
41func ExecWithOpts(argv []string, opts CmdOpts) error {
42 _, err := pipelineInternal([][]string{argv}, []CmdOpts{opts})
43 return err
44}
45
46// Pipeline runs several commands such that the output of one command becomes the input of the next.
47// The first argument should be an two-dimensional array containing the commands.

Callers 1

TestLoaderXidmapFunction · 0.92

Calls 1

pipelineInternalFunction · 0.85

Tested by 1

TestLoaderXidmapFunction · 0.74