MCPcopy Create free account
hub / github.com/tox-dev/filelock / lock_counter

Method lock_counter

src/filelock/_api.py:413–415  ·  view source on GitHub ↗

The number of times this lock has been acquired (but not yet released).

(self)

Source from the content-addressed store, hash-verified

411
412 @property
413 def lock_counter(self) -> int:
414 """The number of times this lock has been acquired (but not yet released)."""
415 return self._context.lock_counter
416
417 @staticmethod
418 def _check_give_up( # noqa: PLR0913

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected