MCPcopy Index your code
hub / github.com/dropbox/godropbox / Get

Method Get

memcache/raw_binary_client.go:335–344  ·  view source on GitHub ↗

See Client interface for documentation.

(key string)

Source from the content-addressed store, hash-verified

333
334// See Client interface for documentation.
335func (c *RawBinaryClient) Get(key string) GetResponse {
336 c.mutex.Lock()
337 defer c.mutex.Unlock()
338
339 if resp := c.sendGetRequest(key); resp != nil {
340 return resp
341 }
342
343 return c.receiveGetResponse(key)
344}
345
346func (c *RawBinaryClient) removeDuplicateKey(keys []string) []string {
347 keyMap := make(map[string]interface{})

Callers

nothing calls this directly

Calls 4

sendGetRequestMethod · 0.95
receiveGetResponseMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected