MCPcopy
hub / github.com/dropbox/godropbox / Set

Method Set

caching/cache_on_storage.go:90–96  ·  view source on GitHub ↗

See Storage for documentation.

(item interface{})

Source from the content-addressed store, hash-verified

88
89// See Storage for documentation.
90func (s *CacheOnStorage) Set(item interface{}) error {
91 if err := s.storage.Set(item); err != nil {
92 return err
93 }
94
95 return s.cache.Set(item)
96}
97
98// See Storage for documentation.
99func (s *CacheOnStorage) SetMulti(items ...interface{}) error {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected