MCPcopy Index your code
hub / github.com/pydata/xarray / decrement

Method decrement

xarray/backends/file_manager.py:313–320  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

311 return count
312
313 def decrement(self, name):
314 with self._lock:
315 count = self._counts[name] - 1
316 if count:
317 self._counts[name] = count
318 else:
319 del self._counts[name]
320 return count
321
322
323class _HashedSequence(list):

Callers 1

__del__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected