// IsPinned returns true if c is pinned by at least
// one APIID.
IsPinned returns true if c is pinned by at least
one APIID.
// IsPinned returns true if c is pinned by at least // one APIID .
func (s *Store) IsPinned(c cid.Cid) bool {
	s.lock.Lock()
	defer s.lock.Unlock()
	_, ok := s.cache[c]
	return ok
}
func ( s * Store ) IsPinned ( c cid . Cid ) bool { s . lock . Lock ( ) defer s . lock . Unlock ( ) _ , ok := s . cache [ c ] return ok }
IsPinned returns true if c is pinned by at least
one APIID.
IsPinned returns true if c is pinned by at least one APIID .