MCPcopy Create free account

hub / github.com/tox-dev/filelock / functions

Functions3,548 in github.com/tox-dev/filelock

Function_new_transition_gate
()
src/filelock/_async_lock/_lock.py:347
Function_noop_on_acquired
(_fd: int)
tests/core/test_on_acquired.py:34
Method_occupant_unchanged_for
(self, occupant: os.stat_result)
src/filelock/_soft/_strict/_lock.py:186
Method_owes_release
(self)
src/filelock/_async_lock/_release.py:123
Function_pin_fork_objects
()
src/filelock/_core/_fork.py:220
Function_probe_file_lock
(lock_file: str, acquired: Synchronized[bool])
tests/async_lock/cancellation.py:53
Function_probe_read_write_lock
(lock_file: str, mode: Literal["read", "write"], sending: Connection)
tests/read_write_helpers.py:73
Function_public_bases
(_app: Sphinx, _name: str, cls: type, _options: SimpleNamespace | None, bases: list[type])
docs/conf.py:151
Function_public_override
( _app: Sphinx, what: str, name: str, _obj: object, # simplint: ignore[imprecise-annotation]
docs/conf.py:164
Method_published_record
(self)
src/filelock/_soft/_lease.py:289
Function_reacquire_fresh_lock_in_child
( # pragma: needs fork lock_file: str, child_path: str, result: EventType, failure: EventType )
tests/soft/read_write/test_lock_fork.py:122
Function_read_failure
(mocker: MockerFixture, error: OSError | None)
tests/filesystem/test_files.py:178
Method_reconcile_failed_acquire
(self, canonical: str, *, levels_before: int)
src/filelock/_soft/_strict/_lock.py:421
Method_recorded_holder
(cls, content: str | None)
src/filelock/_soft/_exclusive/_marker.py:65
Method_register_context_descriptor
(self)
tests/async_lock/test_acquire_rollback.py:135
Method_release
(self)
src/filelock/_native/_unix.py:46
Method_release
(self)
src/filelock/_native/_windows.py:79
Method_release
(self)
src/filelock/_soft/_lease.py:233
Method_release
(self)
src/filelock/_soft/_exclusive/_publication.py:181
Method_release
(self)
src/filelock/_soft/_strict/_lock.py:427
Method_release
(self)
tests/core/test_subclass_options.py:64
Method_release
(self)
tests/core/test_subclass_options.py:118
Method_release
(self)
tests/core/test_subclass_options.py:197
Method_release
(self)
tests/core/test_subclass_options.py:257
Method_release
(self)
tests/core/test_subclass_options.py:331
Method_release
(self)
tests/core/test_subclass_options.py:374
Method_release
(self)
tests/core/test_fork_construction.py:365
Method_release
(self)
tests/core/test_fork_async_backends.py:58
Method_release
(self)
tests/core/test_fork_backends.py:48
Method_release
(self)
tests/core/test_fork_ownership.py:351
Method_release
(self)
tests/async_lock/test_context_errors.py:192
Method_release
(self)
tests/async_lock/test_acquire_cancellation.py:39
Method_release
(self)
tests/async_lock/test_backend_calls.py:61
Method_release
(self)
tests/async_lock/test_backend_calls.py:83
Method_release
(self)
tests/async_lock/test_release_cancellation.py:102
Method_release
(self)
tests/async_lock/test_release_cancellation.py:360
Method_release
(self)
tests/async_lock/test_acquire_rollback.py:26
Method_release_abandoned_holds
(self, *, exited_only: bool)
src/filelock/_soft/_strict/_lock.py:410
Method_release_abandoned_holds
(self, *, exited_only: bool)
src/filelock/_async_lock/_release.py:254
Method_release_current
(self, *, force: bool)
src/filelock/_soft/_exclusive/_publication.py:173
Method_release_current
(self, *, force: bool)
src/filelock/_soft/_strict/_release.py:168
Function_release_inherited_lock
(lock_file: str, result: EventType, failure: EventType)
tests/soft/read_write/test_lock_fork.py:99
Method_release_level_of
(self, holder: int, /)
src/filelock/_core/_acquire.py:381
Method_release_level_of
(self, holder: int)
src/filelock/_soft/_read_write/_lock.py:465
Function_release_live_locks
()
src/filelock/_core/_shutdown.py:83
Method_release_with_fork_tracking_async
(self)
src/filelock/_async_lock/_release.py:202
Method_report_compromise
(self, hold: Hold, reason: CompromiseReason, error: Exception | None)
src/filelock/_soft/_read_write/_hold.py:112
Method_reset_after_fork_in_child
(self)
src/filelock/_core/_state.py:350
Method_reset_after_fork_in_child
(self)
src/filelock/_native/_unix.py:389
Method_reset_after_fork_in_child
(self)
src/filelock/_soft/_lease.py:282
Method_reset_after_fork_in_child
(self)
src/filelock/_soft/_read_write/_lock.py:474
Method_reset_after_fork_in_child
(self)
src/filelock/_soft/_read_write/_async.py:184
Method_reset_after_fork_in_child
(self)
src/filelock/_sqlite/_links.py:102
Method_reset_after_fork_in_child
(self)
src/filelock/_sqlite/_fork.py:177
Method_reset_after_fork_in_child
(self)
src/filelock/_sqlite/_fork.py:226
Method_reset_after_fork_in_child
(self)
src/filelock/_sqlite/_connection.py:347
Method_reset_after_fork_in_child
(self)
src/filelock/_sqlite/_lock.py:471
Method_reset_after_fork_in_child
(self)
src/filelock/_sqlite/_async.py:174
Method_reset_class_after_fork
(cls)
src/filelock/_core/_lock.py:389
Method_reset_class_after_fork
(cls)
src/filelock/_soft/_read_write/_lock.py:255
Method_reset_class_after_fork
(cls)
src/filelock/_sqlite/_lock.py:464
Function_resolve_lazy_imports
()
src/filelock/_core/_shutdown.py:27
Function_restart_coverage_after_fork
()
tests/fork_helpers.py:65
Function_resume_parent_after_fork
()
src/filelock/_core/_fork.py:261
Method_retire
(self)
src/filelock/_async_lock/_backends.py:265
Function_reuse_inherited_lock
(lock_file: str, result: EventType, failure: EventType)
tests/soft/read_write/test_lock_fork.py:60
Function_run
()
tests/async_lock/test_finalization.py:42
Method_run
(self, outcome: _Outcome, hold_beats: int)
tests/soft/read_write/test_participant_model.py:174
Function_run_unawaited_acquire
( # pragma: needs fcntl lock: AsyncFileLock, hook_started: threading.Event, cancellation_seen: th
tests/async_lock/test_executor.py:51
Function_run_unawaited_context_failure
( # pragma: needs fcntl lock: AsyncFileLock, body_error: BaseException, release_started: threadin
tests/async_lock/test_executor.py:157
Method_settle_finalizer_release
(self, pending: asyncio.Task[None] | futures.Future[None])
src/filelock/_async_lock/_release.py:292
Function_sigkill_worker
( # pragma: forked child lock_file: str, mode: Literal["read", "write"], acquired_event: EventTyp
tests/soft/read_write/test_heartbeat.py:70
Function_signal_async_poll
(polling: asyncio.Event)
tests/soft/strict/test_directories.py:128
Function_signal_poll
(polling: threading.Event)
tests/core/test_relative_paths.py:67
Function_signal_poll
(polling: asyncio.Event)
tests/async_lock/test_paths.py:47
Function_signal_thread_poll
(polling: threading.Event)
tests/soft/strict/test_directories.py:97
Method_singleton_extra_mismatches
(self, kwargs: Mapping[str, ExtraValue], /)
src/filelock/_soft/_lease.py:139
Method_singleton_extra_mismatches
(self, kwargs: Mapping[str, ExtraValue], /)
src/filelock/_async_lock/_lock.py:310
Function_snapshot_descriptor_for_fork
(fd: int, identity: tuple[int, int] | None)
src/filelock/_core/_fork.py:309
Function_soft
( # pragma: needs hard-link path: Path, worker: ThreadPoolExecutor )
tests/async_lock/test_read_write.py:33
Function_sqlite
(path: Path, worker: ThreadPoolExecutor)
tests/async_lock/test_read_write.py:29
Function_stage_claim_record
(lock_path: Path)
tests/soft/strict/test_scan_reclaim.py:31
Function_stage_sentinel_record
(lock_path: Path)
tests/soft/strict/test_scan_reclaim.py:36
Function_tracemalloc_lookup_without_support
()
tests/conftest.py:92
Method_transition_admission
(self, wait: AcquireWait)
src/filelock/_soft/_strict/_release.py:136
Method_try_break_expired_lock
(self)
src/filelock/_soft/_exclusive/_recovery.py:245
Method_try_break_stale_lock
(self)
src/filelock/_soft/_exclusive/_marker.py:52
Method_try_break_stale_lock
(self)
src/filelock/_soft/_exclusive/_recovery.py:62
Method_unprobeable_holder
(self)
src/filelock/_native/_unix.py:396
Method_unprobeable_holder
(self)
src/filelock/_soft/_exclusive/_lock.py:45
Functionabandoned_record
(initialized_lock_path: Path)
tests/soft/strict/conftest.py:27
Functionaccess
(filename: str, permission: int, *, effective_ids: bool = False, **_: bool)
tests/filesystem/test_files.py:95
Functionacquire
()
tests/core/test_fork_coordination.py:307
Functionacquire
()
tests/soft/strict/test_windows_oplock.py:97
Functionacquire
()
tests/native/test_descriptor.py:212
Functionacquire_after_peer_fallback
()
tests/native/test_unix_fallback.py:224
Functionacquire_again
()
tests/soft/strict/test_windows_oplock.py:73
Functionacquire_first
()
tests/soft/strict/test_publication.py:227
Functionacquire_fresh
()
tests/core/test_admission.py:105
Functionacquire_in_handler
(_signum: int, _frame: FrameType | None)
tests/core/test_acquire_signal.py:74
← previousnext →1,101–1,200 of 3,548, ranked by callers