MCPcopy Index your code
hub / github.com/jetify-com/devbox / String

Method String

internal/devbox/shellcmd/command.go:118–123  ·  view source on GitHub ↗

String formats the commands as a single string by joining them with newlines.

()

Source from the content-addressed store, hash-verified

116
117// String formats the commands as a single string by joining them with newlines.
118func (s *Commands) String() string {
119 if s == nil {
120 return ""
121 }
122 return strings.Join(s.Cmds, "\n")
123}

Callers 2

TestCommandsStringFunction · 0.95
MarshalJSONMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestCommandsStringFunction · 0.76