MCPcopy Index your code
hub / github.com/tmrts/boilr / Write

Method Write

pkg/util/stringutil/stringutil.go:28–31  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

26}
27
28func (s *str) Write(buf []byte) (int, error) {
29 *s = str(string(*s) + string(buf))
30 return len(buf), nil
31}
32
33func (s *str) String() string {
34 return string(*s)

Callers 1

TestWritesToStringFunction · 0.80

Calls 1

strTypeAlias · 0.85

Tested by 1

TestWritesToStringFunction · 0.64