func (s *ContentSet) Snapshot() ContentSet {
	s.mu.Lock()
	defer s.mu.Unlock()

	return ContentSet{
		ids: append([]content.ID(nil), s.ids...),
	}
}
// Snapshot returns the snapshot of all IDs.
Snapshot returns the snapshot of all IDs.
// Snapshot returns the snapshot of all IDs .
func (s *ContentSet) Snapshot() ContentSet {
	s.mu.Lock()
	defer s.mu.Unlock()
	return ContentSet{
		ids: append([]content.ID(nil), s.ids...),
	}
}
func ( s * ContentSet ) Snapshot ( ) ContentSet { s . mu . Lock ( ) defer s . mu . Unlock ( ) return ContentSet { ids : append ( [ ] content . ID ( nil ) , s . ids ... ) , } }
Snapshot returns the snapshot of all IDs.
Snapshot returns the snapshot of all IDs .