MCPcopy Create free account
hub / github.com/dirk/quickhook / ExecQuickhook

Method ExecQuickhook

internal/test/tempdir.go:49–53  ·  view source on GitHub ↗
(arg ...string)

Source from the content-addressed store, hash-verified

47}
48
49func (tempDir *TempDir) ExecQuickhook(arg ...string) (string, error) {
50 cmd := tempDir.NewCommand(tempDir.Quickhook, arg...)
51 output, err := cmd.CombinedOutput()
52 return string(output), err
53}
54
55func (tempDir *TempDir) WriteFile(relativePath []string, data string) {
56 fullPath := path.Join(append([]string{tempDir.Root}, relativePath...)...)

Calls 1

NewCommandMethod · 0.95