MCPcopy Index your code
hub / github.com/bitfield/script / ExampleIfExists_false

Function ExampleIfExists_false

script_test.go:2242–2246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2240}
2241
2242func ExampleIfExists_false() {
2243 script.IfExists("doesntexist").Echo("found it").Stdout()
2244 // Output:
2245 //
2246}
2247
2248func ExamplePipe_Bytes() {
2249 data, err := script.Echo("hello").Bytes()

Callers

nothing calls this directly

Calls 3

IfExistsFunction · 0.92
StdoutMethod · 0.80
EchoMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…