Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ functions
Functions
1,605 in github.com/tox-dev/filelock
⨍
Functions
1,605
◇
Types & classes
114
↳
Endpoints
9
Method
__reduce__
(self)
src/filelock/_error.py:11
Method
__reduce__
( self, )
src/filelock/_error.py:44
Method
__repr__
(self)
src/filelock/_error.py:18
Method
__str__
(self)
src/filelock/_error.py:15
Function
_abort_forked_sqlite_transition
()
src/filelock/_read_write.py:744
Method
_acquire
(self)
src/filelock/_strict.py:110
Method
_acquire
(self)
src/filelock/_lease.py:181
Method
_acquire
(self)
src/filelock/_windows.py:184
Method
_acquire
(self)
src/filelock/_soft.py:51
Method
_acquire
(self)
tests/test_subclass_options.py:311
Method
_acquire
(self)
tests/test_subclass_options.py:326
Method
_acquire
(self)
tests/test_subclass_options.py:338
Method
_acquire
(self)
tests/test_subclass_options.py:351
Method
_acquire
(self)
tests/test_subclass_options.py:364
Method
_acquire
(self)
tests/test_subclass_options.py:377
Method
_acquire
(self)
tests/test_async_filelock_release_cancellation.py:215
Method
_acquire
(self)
tests/test_async_filelock_rollback_agnostic.py:29
Method
_acquire
(self)
tests/test_fork_backends.py:33
Method
_acquire
(self)
tests/test_fork_backends.py:53
Method
_acquire
(self)
tests/test_fork_backends.py:297
Method
_acquire
(self)
tests/test_fork_coordination.py:208
Method
_acquire
(self)
tests/test_fork_coordination.py:1106
Method
_acquire
(self)
tests/test_fork_coordination.py:1143
Method
_acquire
(self)
tests/test_fork_registries.py:23
Method
_acquire
(self)
tests/test_async_filelock_acquire_cancellation.py:38
Method
_acquire
(self)
tests/test_async_filelock.py:183
Method
_acquire
(self)
tests/test_async_filelock.py:207
Method
_acquire
(self)
tests/test_async_filelock.py:1005
Method
_acquire_with_fork_tracking_async
(self)
src/filelock/asyncio.py:527
Function
_audit_fork_safety
( # pragma: no cover - CPython disables tracing while Python audit hooks run event: str, _args: Unuse
src/filelock/_api.py:1785
Function
_block_executor
(executor_started: threading.Event, release_executor: threading.Event)
tests/test_async_read_write_cancellation.py:513
Function
_block_executor
(executor_started: threading.Event, release_executor: threading.Event)
tests/test_async_filelock_acquire_cancellation.py:479
Function
_cancel_queued_read_write_acquire
(lock_file: str, cancel_caller: bool, canceled: Synchronized[bool])
tests/test_async_read_write_cancellation.py:358
Method
_claim
(self)
src/filelock/_lease.py:153
Method
_claim_directory
(self)
src/filelock/_strict.py:257
Function
_cleanup_all_instances
()
src/filelock/_soft_rw/_sync.py:973
Function
_clear_singleton_cache
()
tests/test_read_write_unit.py:33
Function
_clear_singleton_cache
()
tests/test_async_read_write.py:23
Function
_clear_singletons
()
tests/soft_rw/test_soft_rw_sync.py:43
Function
_clear_singletons
()
tests/soft_rw/test_soft_rw_async.py:24
Function
_close_eio
(fd: int)
tests/test_unix_fallback.py:152
Function
_collect_garbage
()
tests/conftest.py:46
Method
_deadlock_scope
()
src/filelock/asyncio.py:129
Method
_descriptors_for_fork
(self)
src/filelock/_api.py:53
Function
_failing_on_acquired
(_fd: int)
tests/test_filelock.py:2347
Function
_failing_on_acquired
(_fd: int)
tests/test_async_filelock.py:1087
Function
_hammer
(backend: str, path: str)
tasks/benchmark.py:179
Function
_hammer
(name: str, lock_path: str)
tasks/verify_filesystem.py:113
Function
_hold_file_lock
(lock_file: str, holder_started: threading.Event, finish_holder: threading.Event)
tests/async_filelock_cancellation_helpers.py:64
Function
_hold_read_write_lock
( lock_file: str, mode: Literal["read", "write"], acquired: EventType, release: EventType, )
tests/test_async_read_write_cancellation.py:518
Function
_hold_relative_lock
(polling: threading.Event, acquired: threading.Event, release: threading.Event)
tests/test_strict_soft_paths.py:158
Function
_hold_until
(path: str, acquired: EventType, release: EventType)
tasks/benchmark.py:155
Method
_inherited
(self)
src/filelock/_read_write.py:488
Method
_inherited
(self)
src/filelock/_async_read_write.py:295
Function
_init_then_fork
( self: _Sub, lock_file: str | os.PathLike[str], timeout: float = -1, *,
tests/test_read_write_unit.py:606
Function
_noop_on_acquired
(_fd: int)
tests/test_filelock.py:2343
Function
_pin_fork_objects
()
src/filelock/_api.py:1629
Function
_probe_file_lock
(lock_file: str, acquired: Synchronized[bool])
tests/async_filelock_cancellation_helpers.py:56
Function
_probe_read_write_lock
(lock_file: str, mode: Literal["read", "write"], acquired: Synchronized[bool])
tests/read_write_helpers.py:28
Method
_published_record
(self)
src/filelock/_lease.py:199
Function
_reacquire_fresh_lock_in_child
( # pragma: needs fork lock_file: str, child_path: str, result: EventType, failure: EventType )
tests/soft_rw/test_soft_rw_sync.py:1178
Method
_reconcile_failed_acquire
(self, canonical: str)
src/filelock/_strict.py:221
Method
_refresh_until_stopped
( self, claim: _LeaseClaim, fd: int, identity: tuple[int, int], token:
src/filelock/_lease.py:267
Method
_register_context_descriptor
(self)
tests/test_async_filelock_rollback_agnostic.py:141
Method
_release
(self)
src/filelock/_strict.py:227
Method
_release
(self)
src/filelock/_unix.py:23
Method
_release
(self)
src/filelock/_lease.py:194
Method
_release
(self)
src/filelock/_windows.py:203
Method
_release
(self)
tests/test_subclass_options.py:314
Method
_release
(self)
tests/test_subclass_options.py:329
Method
_release
(self)
tests/test_subclass_options.py:341
Method
_release
(self)
tests/test_subclass_options.py:354
Method
_release
(self)
tests/test_subclass_options.py:367
Method
_release
(self)
tests/test_subclass_options.py:380
Method
_release
(self)
tests/test_async_filelock_release_cancellation.py:218
Method
_release
(self)
tests/test_async_filelock_rollback_agnostic.py:32
Method
_release
(self)
tests/test_fork_backends.py:38
Method
_release
(self)
tests/test_fork_backends.py:60
Method
_release
(self)
tests/test_fork_coordination.py:1146
Method
_release
(self)
tests/test_async_filelock_acquire_cancellation.py:42
Method
_release
(self)
tests/test_async_filelock.py:188
Method
_release
(self)
tests/test_async_filelock.py:210
Method
_release
(self)
tests/test_async_filelock.py:1008
Function
_release_inherited_lock
(lock_file: str, result: EventType, failure: EventType)
tests/soft_rw/test_soft_rw_sync.py:1155
Method
_release_with_fork_tracking_async
(self)
src/filelock/asyncio.py:603
Method
_reset_after_fork_in_child
(self)
src/filelock/_api.py:50
Method
_reset_after_fork_in_child
(self)
src/filelock/_read_write.py:83
Method
_reset_after_fork_in_child
(self)
src/filelock/_read_write.py:123
Method
_reset_after_fork_in_child
(self)
src/filelock/_read_write.py:475
Method
_reset_after_fork_in_child
(self)
src/filelock/_async_read_write.py:307
Method
_reset_after_fork_in_child
(self)
src/filelock/_soft_rw/_sync.py:741
Method
_reset_class_after_fork
(self)
src/filelock/_api.py:58
Method
_reset_class_after_fork
(cls)
src/filelock/_soft_rw/_sync.py:216
Function
_restart_coverage_after_fork
()
tests/fork_helpers.py:59
Function
_resume_parent_after_fork
()
src/filelock/_api.py:1652
Function
_reuse_inherited_lock
(lock_file: str, result: EventType, failure: EventType)
tests/soft_rw/test_soft_rw_sync.py:1132
Method
_rollback_failed_acquire
(self, acquisition_error: BaseException)
src/filelock/_strict.py:212
Function
_run
()
tests/test_async_filelock.py:377
Function
_run_unawaited_acquire
( # pragma: needs fcntl lock: AsyncFileLock, hook_started: threading.Event, cancellation_seen: th
tests/test_async_filelock_runner_shutdown.py:138
Function
_run_unawaited_context_failure
( # pragma: needs fcntl lock: AsyncFileLock, body_error: BaseException, release_started: threadin
tests/test_async_filelock_runner_shutdown.py:173
← previous
next →
501–600 of 1,605, ranked by callers