MCPcopy Create free account
hub / github.com/6pac/SlickGrid / execAsync

Function execAsync

scripts/child-process.mjs:66–70  ·  view source on GitHub ↗
(command, args, opts, cmdDryRun = false)

Source from the content-addressed store, hash-verified

64 * @param {Boolean} [cmdDryRun] - dry-run flag
65 */
66export async function execAsync(command, args, opts, cmdDryRun = false) {
67 return cmdDryRun
68 ? logExecDryRunCommand(command, args)
69 : (await x('git', args, opts)).stdout.trim();
70}
71
72/**
73 * Log the exec command without actually executing the actual command

Callers 1

parseGitRepoFunction · 0.90

Calls 2

logExecDryRunCommandFunction · 0.85
xFunction · 0.85

Tested by

no test coverage detected