MCPcopy
hub / github.com/google/gvisor / RemoveFullRange

Method RemoveFullRange

pkg/segment/set.go:611–613  ·  view source on GitHub ↗

RemoveFullRange is equivalent to RemoveRange, except that if any key in the given range does not correspond to a segment, RemoveFullRange panics.

(r Range)

Source from the content-addressed store, hash-verified

609// RemoveFullRange is equivalent to RemoveRange, except that if any key in the
610// given range does not correspond to a segment, RemoveFullRange panics.
611func (s *Set) RemoveFullRange(r Range) GapIterator {
612 return s.RemoveFullRangeWith(r, nil)
613}
614
615// RemoveRangeWith removes all segments in the given range. An iterator to the
616// newly formed gap is returned, and all existing iterators are invalidated.

Callers 4

extendChunksLockedMethod · 0.80
DecRefMethod · 0.80
releaseLockedMethod · 0.80

Calls 1

RemoveFullRangeWithMethod · 0.95

Tested by 1