MCPcopy Create free account
hub / github.com/coder/envbuilder / IsEmpty

Method IsEmpty

devcontainer/script.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21func (s *LifecycleScript) IsEmpty() bool {
22 return len(s.shellCommands) == 0 && len(s.nonShellCommands) == 0
23}
24
25func (s *LifecycleScript) UnmarshalJSON(data []byte) error {
26 var v any

Callers 3

runFunction · 0.80
execOneLifecycleScriptFunction · 0.80
execLifecycleScriptsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected