Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
2242
func
ExampleIfExists_false() {
2243
script.IfExists(
"doesntexist"
).Echo(
"found it"
).Stdout()
2244
// Output:
2245
//
2246
}
2247
2248
func
ExamplePipe_Bytes() {
2249
data, err := script.Echo(
"hello"
).Bytes()
Callers
nothing calls this directly
Calls
3
IfExists
Function · 0.92
Stdout
Method · 0.80
Echo
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…