MCPcopy Create free account
hub / github.com/aws/smithy-go / String

Method String

middleware/stack.go:135–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135func (s *Stack) String() string {
136 var b strings.Builder
137
138 w := &indentWriter{w: &b}
139
140 w.WriteLine(s.id)
141 w.Push()
142
143 writeStepItems(w, s.Initialize)
144 writeStepItems(w, s.Serialize)
145 writeStepItems(w, s.Build)
146 writeStepItems(w, s.Finalize)
147 writeStepItems(w, s.Deserialize)
148
149 return b.String()
150}
151
152type stackStepper interface {
153 ID() string

Callers 1

TestStackStringFunction · 0.95

Calls 4

WriteLineMethod · 0.95
PushMethod · 0.95
writeStepItemsFunction · 0.85
StringMethod · 0.65

Tested by 1

TestStackStringFunction · 0.76