MCPcopy Index your code
hub / github.com/syncthing/syncthing / Get

Method Get

cmd/syncthing/cli/client.go:145–147  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

143}
144
145func (c *apiClient) Get(url string) (*http.Response, error) {
146 return c.RequestString(url, "GET", "")
147}
148
149func (c *apiClient) Post(url, body string) (*http.Response, error) {
150 return c.RequestString(url, "POST", body)

Callers

nothing calls this directly

Calls 1

RequestStringMethod · 0.95

Tested by

no test coverage detected