MCPcopy Index your code
hub / github.com/dagger/dagger / IsEmpty

Method IsEmpty

cmd/dagger/shell_state.go:289–291  ·  view source on GitHub ↗

IsEmpty returns true if there's no function calls in the chain

()

Source from the content-addressed store, hash-verified

287
288// IsEmpty returns true if there's no function calls in the chain
289func (st ShellState) IsEmpty() bool {
290 return len(st.Calls) == 0
291}
292
293// FunctionCall represents a querybyilder.Selection
294//

Callers 5

FunctionMethod · 0.95
GetDefMethod · 0.95
entrypointCallMethod · 0.45
StateResultMethod · 0.45
registerCommandsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected