MCPcopy Create free account
hub / github.com/Mrs4s/six-cli / GetString

Method GetString

models/httpclient.go:97–103  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

95 return body, nil
96}
97func (cli *SixHttpClient) GetString(url string) string {
98 bytes, err := cli.GetBytes(url)
99 if err != nil {
100 return ""
101 }
102 return string(bytes)
103}

Callers 1

previewTextFunction · 0.80

Calls 1

GetBytesMethod · 0.95

Tested by

no test coverage detected