MCPcopy
hub / github.com/lmorg/murex / Get

Method Get

utils/mxjson/structs.go:112–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112func (s *str) Get() []byte {
113 if s.len == 0 {
114 return nil
115 }
116
117 b := s.b[:s.len]
118 s.len = 0
119 return b
120}
121
122func (s *str) String() string {
123 if s.len == 0 {

Callers 4

StringFunction · 0.45
GatherFileCompletionsFunction · 0.45
IsAllowedFunction · 0.45
TestLazyStringGetFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestLazyStringGetFunction · 0.36