MCPcopy Create free account

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

Functions1,605 in github.com/tox-dev/filelock

↓ 1 callersFunction_honors_link_follow_symlinks
()
tasks/capabilities.py:55
↓ 1 callersFunction_idle_fork_script
()
tests/test_read_write_fork.py:816
↓ 1 callersFunction_init_parameter_model
(cls: type[BaseFileLock])
src/filelock/_api.py:474
↓ 1 callersMethod_invoke_on_acquired
(self)
src/filelock/_api.py:1260
↓ 1 callersMethod_invoke_on_acquired_async
(self)
src/filelock/asyncio.py:589
↓ 1 callersFunction_is_housekeeping_name
(name: str)
src/filelock/_soft_rw/_sync.py:934
↓ 1 callersFunction_kill_processes
(processes: list[subprocess.Popen[str]])
tests/test_strict_soft_stress.py:94
↓ 1 callersFunction_leaf_error_messages
(error: BaseException)
tests/test_strict_soft_failures.py:963
↓ 1 callersFunction_leave_fork_transition
(token: int)
src/filelock/_api.py:1708
↓ 1 callersFunction_link_no_replace
(directory: Path, source_name: str, destination_name: str)
src/filelock/_strict.py:697
↓ 1 callersFunction_link_private_record
( directory_ref: tuple[str, int | None], names: tuple[str, str], private_identity: tuple[int, int]
src/filelock/_strict.py:540
↓ 1 callersFunction_link_relative
(directory_ref: tuple[str, int | None], source_name: str, destination_name: str)
src/filelock/_strict.py:658
↓ 1 callersFunction_lock_fd_nonblocking
(fd: int)
src/filelock/_windows.py:155
↓ 1 callersFunction_nt_open
Open *path* through ``NtCreateFile`` and return ``(handle, status)``. ``RtlDosPathNameToNtPathName_U_WithStatus`` translates the Win
src/filelock/_windows.py:280
↓ 1 callersFunction_one
(run: Callable[[], object])
tasks/benchmark.py:193
↓ 1 callersFunction_open_descriptors
()
tasks/benchmark.py:205
↓ 1 callersMethod_open_for_acquisition
(self, timeout: float, *, blocking: bool, operation_pid: int, start_time: float)
src/filelock/_read_write.py:580
↓ 1 callersFunction_open_non_reparse_fd
Open *path* for locking while refusing reparse points, bound to the handle actually locked. The file is opened through ``NtCreateFil
src/filelock/_windows.py:215
↓ 1 callersFunction_open_or_create_sentinel
(lock_file: str, path: Path, mode: int)
src/filelock/_strict.py:281
↓ 1 callersFunction_open_relative
(directory_ref: tuple[str, int | None], name: str, flags: int, mode: int)
src/filelock/_strict.py:649
↓ 1 callersFunction_open_sentinel
(path: Path)
src/filelock/_strict.py:307
↓ 1 callersFunction_parse_claim
( lock_file: str, name: str, name_parts: tuple[StrictSoftFileClaimState, str], record: bytes,
src/filelock/_strict.py:394
↓ 1 callersFunction_patch_async_acquire_and_rollback_failure
( mocker: MockerFixture, loop: asyncio.AbstractEventLoop, acquire_started: asyncio.Event, fini
tests/test_async_read_write_cancellation.py:429
↓ 1 callersFunction_patch_async_execute_signal
( mocker: MockerFixture, loop: asyncio.AbstractEventLoop, execute_started: asyncio.Event, )
tests/test_async_read_write_cancellation.py:390
↓ 1 callersFunction_patch_rollback_failure
(mocker: MockerFixture, *, after_rollback: bool)
tests/test_read_write.py:446
↓ 1 callersMethod_poll_delay
(self, poll_interval: float, attempt: int)
src/filelock/_api.py:1238
↓ 1 callersMethod_poll_until_acquired
( self, *, blocking: bool, cancel_check: Callable[[], bool] | None, ti
src/filelock/_api.py:1203
↓ 1 callersFunction_preserves_context_thrown_into_a_generator
()
tasks/capabilities.py:107
↓ 1 callersFunction_private_record_name
(public_name: str)
src/filelock/_strict.py:568
↓ 1 callersFunction_privilege_state
()
tasks/deny_symlink.py:83
↓ 1 callersFunction_propagates_a_cancellation_thrown_into_a_coroutine
()
tasks/capabilities.py:130
↓ 1 callersFunction_public_claim_names
(directory: Path, entries: Iterator[os.DirEntry[str]])
src/filelock/_strict.py:375
↓ 1 callersMethod_publish_held_marker
(self, fd: int)
src/filelock/_soft.py:71
↓ 1 callersFunction_publish_record_in_directory
( directory_ref: tuple[str, int | None], names: tuple[str, str], mode: int, record: bytes, )
src/filelock/_strict.py:476
↓ 1 callersMethod_published_record
(self)
src/filelock/_marker.py:89
↓ 1 callersFunction_pypy_external_sqlite_script
()
tests/test_read_write_fork.py:877
↓ 1 callersFunction_pypy_fork_script
()
tests/test_read_write_fork.py:855
↓ 1 callersMethod_raise_if_unusable
(self)
src/filelock/_read_write.py:491
↓ 1 callersFunction_raise_record_finalization_errors
( close_error: BaseException | None, unlink_error: BaseException | None, )
src/filelock/_strict.py:558
↓ 1 callersFunction_read_boot_id
()
src/filelock/_identity.py:128
↓ 1 callersFunction_read_claim_record
(lock_file: str, directory: Path, name: str)
src/filelock/_strict.py:332
↓ 1 callersFunction_read_claims
(lock_file: str, directory: Path)
src/filelock/_strict.py:315
↓ 1 callersFunction_read_marker_fd
(fd: int)
src/filelock/_soft_rw/_sync.py:792
↓ 1 callersFunction_read_opened_record
(fd: int, path: Path, path_stat: os.stat_result, limit: int)
src/filelock/_strict.py:814
↓ 1 callersMethod_read_peer
(self)
src/filelock/_lease.py:232
↓ 1 callersFunction_read_record
(path: Path, limit: int)
src/filelock/_strict.py:790
↓ 1 callersFunction_reclaim_sentinel_private_records
(path: Path, now: float)
src/filelock/_strict.py:585
↓ 1 callersFunction_recursive_acquisition_script
()
tests/test_read_write_fork.py:440
↓ 1 callersFunction_recursive_construction_script
()
tests/test_read_write_fork.py:404
↓ 1 callersFunction_reentrant_finalizer_script
()
tests/test_read_write_fork.py:358
↓ 1 callersMethod_refresh_claim
( self, claim: _LeaseClaim, fd: int, identity: tuple[int, int], token:
src/filelock/_lease.py:291
↓ 1 callersFunction_refuses_to_open_a_symlink
()
tasks/capabilities.py:164
↓ 1 callersFunction_register_fork_hooks
()
src/filelock/_api.py:1553
↓ 1 callersFunction_register_unverified_owned_descriptor
(fd: int)
src/filelock/_api.py:1605
↓ 1 callersMethod_release
Releases the lock and sets self._context.lock_file_fd to None.
src/filelock/_api.py:1427
↓ 1 callersMethod_release
(self)
src/filelock/_soft.py:150
↓ 1 callersMethod_release
(self)
tests/test_fork_registries.py:26
↓ 1 callersMethod_release_serialized
(self, *, force: bool)
src/filelock/asyncio.py:473
↓ 1 callersFunction_remove_privilege
()
tasks/deny_symlink.py:96
↓ 1 callersFunction_report
(samples: list[Sample])
tasks/benchmark.py:212
↓ 1 callersFunction_reports_object_tracebacks
()
tasks/capabilities.py:184
↓ 1 callersFunction_require_exact_name
(directory: Path, name: str)
src/filelock/_strict.py:849
↓ 1 callersMethod_reset_after_fork_in_child
(self)
src/filelock/_api.py:1152
↓ 1 callersFunction_reset_child_after_fork
()
src/filelock/_api.py:1676
↓ 1 callersMethod_reset_class_after_fork
(cls)
src/filelock/_api.py:642
↓ 1 callersMethod_reset_class_after_fork
(cls)
src/filelock/_read_write.py:240
↓ 1 callersFunction_resiliently
(action: Callable[[], object])
tasks/verify_filesystem.py:135
↓ 1 callersFunction_resolve_close_error_policy
(policy: str)
src/filelock/_api.py:551
↓ 1 callersFunction_resolve_context_error_policy
(policy: str)
src/filelock/_api.py:538
↓ 1 callersFunction_resolve_on_acquired
( on_acquired: Callable[[int], None] | None, *, supported: bool, cls_name: str )
src/filelock/_api.py:567
↓ 1 callersFunction_resolve_preserve_lock_file
(*, preserve: bool, supported: bool, cls_name: str)
src/filelock/_api.py:558
↓ 1 callersMethod_rollback_backend_cancelled_acquire
(self, acquire_error: asyncio.CancelledError)
src/filelock/asyncio.py:424
↓ 1 callersMethod_rollback_failed_acquire_async
(self, acquisition_error: BaseException)
src/filelock/asyncio.py:542
↓ 1 callersMethod_rollback_failed_registration
(self, registration_error: BaseException)
src/filelock/_api.py:1319
↓ 1 callersMethod_rollback_failed_registration_async
(self, registration_error: BaseException)
src/filelock/asyncio.py:573
↓ 1 callersMethod_run
(self, func: Callable[_P, _R], *args: _P.args, **kwargs: _P.kwargs)
src/filelock/_async_read_write.py:269
↓ 1 callersMethod_run_acquire_attempt
(self)
src/filelock/asyncio.py:381
↓ 1 callersFunction_run_child_cleanup
( lock: BaseFileLock, proxy: AcquireReturnProxy, action: Literal["release", "context", "collect"],
tests/test_fork_ownership.py:525
↓ 1 callersFunction_run_one
(name: str, mounts: list[Path])
tasks/verify_filesystem.py:88
↓ 1 callersFunction_same_exception_tree
(first: BaseException, second: BaseException)
src/filelock/_api.py:151
↓ 1 callersFunction_same_file
(name: str, identity: tuple[int, int], *, dir_fd: int | None)
src/filelock/_soft_rw/_sync.py:918
↓ 1 callersFunction_set_invalid_lifetime
( lock_type: type[SoftFileLock | AsyncSoftFileLock], entry_point: Literal["constructor", "setter"],
tests/test_soft_lifetime_warning.py:219
↓ 1 callersFunction_set_lifetime
( lock_type: type[FileLock | AsyncFileLock], entry_point: Literal["constructor", "setter"], lock:
tests/test_lifetime_validation.py:112
↓ 1 callersMethod_shutdown_owned_executor
(self)
src/filelock/_async_read_write.py:290
↓ 1 callersMethod_start_heartbeat
(self, claim: _LeaseClaim, fd: int, identity: tuple[int, int], token: str)
src/filelock/_lease.py:239
↓ 1 callersFunction_start_signaled_acquire
(lock: AsyncFileLock)
tests/test_async_filelock_transition_admission.py:119
↓ 1 callersFunction_start_unawaited_context_failure
( # pragma: needs fcntl lock: AsyncFileLock, body_error: BaseException, release_started: threadin
tests/test_async_filelock_runner_shutdown.py:157
↓ 1 callersFunction_subclass_fork_script
()
tests/test_read_write_fork.py:907
↓ 1 callersFunction_supports_unlinking_an_open_file
()
tasks/capabilities.py:42
↓ 1 callersMethod_switch_to_soft_lock
(self, fd: int, missing_flock: OSError)
src/filelock/_unix.py:118
↓ 1 callersFunction_timeout_cpu
(root: Path)
tasks/benchmark.py:94
↓ 1 callersMethod_transition_admission
( self, *, blocking: bool, cancel_check: Callable[[], bool] | None, ti
src/filelock/_api.py:1073
↓ 1 callersMethod_try_break_stale_lock
(self)
src/filelock/_soft.py:88
↓ 1 callersFunction_uncontended
(root: Path)
tasks/benchmark.py:81
↓ 1 callersMethod_undo_acquire
Roll back the counter after a failed acquire, dropping the registry entry once nothing holds the path.
src/filelock/_api.py:1361
↓ 1 callersFunction_unknown_constructor
()
tests/test_subclass_options.py:239
↓ 1 callersFunction_unlink_error
(path: Path)
src/filelock/_strict.py:775
↓ 1 callersMethod_unlink_held_marker
(self, identity: tuple[int, int] | None)
src/filelock/_soft.py:177
↓ 1 callersFunction_unlink_owner_path
(path: str)
src/filelock/_strict.py:717
↓ 1 callersFunction_unlink_owner_path_result
(path: str)
src/filelock/_strict.py:729
← previousnext →301–400 of 1,605, ranked by callers