MCPcopy
hub / github.com/perkeep/perkeep / timeout

Method timeout

cmd/pk-put/camput_test.go:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (e *env) timeout() time.Duration {
44 if e.Timeout != 0 {
45 return e.Timeout
46 }
47 return 15 * time.Second
48
49}
50func (e *env) Run(args ...string) (out, err []byte, exitCode int) {
51 outbuf := new(bytes.Buffer)
52 errbuf := new(bytes.Buffer)

Callers 1

RunMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected