MCPcopy
hub / github.com/perkeep/perkeep / Help

Method Help

pkg/test/world.go:131–139  ·  view source on GitHub ↗

Help outputs the help of perkeepd from the World.

()

Source from the content-addressed store, hash-verified

129
130// Help outputs the help of perkeepd from the World.
131func (w *World) Help() ([]byte, error) {
132 if err := w.Build(); err != nil {
133 return nil, err
134 }
135 pkdbin := w.lookPathGobin("perkeepd")
136 // Run perkeepd -help.
137 cmd := exec.Command(pkdbin, "-help")
138 return cmd.CombinedOutput()
139}
140
141// Start builds the Perkeep binaries and starts a server.
142func (w *World) Start() error {

Callers 1

TestNoTestingLinkingFunction · 0.95

Implementers 2

testWorldpkg/gc/gc_test.go
Worldpkg/test/world.go

Calls 3

BuildMethod · 0.95
lookPathGobinMethod · 0.95
CommandMethod · 0.65

Tested by 1

TestNoTestingLinkingFunction · 0.76