MCPcopy Create free account

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

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

↓ 1 callersMethod_raise_if_hold_unusable
(self)
src/filelock/_soft/_lease.py:222
↓ 1 callersMethod_raise_if_not_holder
(self, thread_id: int)
src/filelock/_sqlite/_lock.py:388
↓ 1 callersMethod_raise_if_unusable
(self)
src/filelock/_sqlite/_lock.py:245
↓ 1 callersFunction_raise_record_finalization_errors
( close_error: BaseException | None, unlink_error: BaseException | None, )
src/filelock/_soft/_strict/_publication.py:314
↓ 1 callersFunction_read_boot_id
()
src/filelock/_identity/_process.py:116
↓ 1 callersFunction_read_claim_records
( lock_file: str, directory_ref: tuple[str, int | None], names: list[str], *, entry_limit: int | None )
src/filelock/_soft/_strict/_scan.py:178
↓ 1 callersFunction_read_claims
( lock_file: str, directory_ref: tuple[str, int | None], *, entry_limit: int | None, verify_server: bool )
src/filelock/_soft/_strict/_scan.py:110
↓ 1 callersFunction_read_opened_record
(fd: int, path: Path, path_stat: os.stat_result, limit: int)
src/filelock/_soft/_strict/_scan.py:260
↓ 1 callersMethod_read_peer
(self)
src/filelock/_soft/_lease.py:319
↓ 1 callersFunction_read_without_waiting
(lock: AsyncReadWriteLock)
tests/sqlite/test_async_contention.py:185
↓ 1 callersFunction_reclaim_sentinel_private_records
(lock_file: str, path: Path)
src/filelock/_soft/_strict/_sentinel.py:146
↓ 1 callersMethod_record_unreported_loss
(self)
src/filelock/_soft/_lease.py:240
↓ 1 callersMethod_recover_claimed
( self, path: str, breaker_pid: int, marker: os.stat_result, *, adopt: bool )
src/filelock/_soft/_exclusive/_recovery.py:161
↓ 1 callersMethod_refresh_unnamed
(self, name_error: FileNotFoundError)
src/filelock/_soft/_lease.py:389
↓ 1 callersFunction_refuse_excess_claims
(lock_file: str, names: list[str])
src/filelock/_soft/_strict/_scan.py:171
↓ 1 callersFunction_refuses_to_open_a_symlink
()
tasks/capabilities.py:240
↓ 1 callersFunction_register_fork_hooks
()
src/filelock/_core/_fork.py:193
↓ 1 callersMethod_release
(self)
src/filelock/_core/_release.py:175
↓ 1 callersMethod_release
(self)
tests/core/test_fork_registries.py:40
↓ 1 callersMethod_release_from_worker
(self, state: FileLockContext)
src/filelock/_core/_release.py:215
↓ 1 callersMethod_release_interrupted_before_commit
(self, counter_before: int, release_error: BaseException)
src/filelock/_async_lock/_release.py:209
↓ 1 callersMethod_release_level_of
(self, thread_id: int)
src/filelock/_sqlite/_lock.py:445
↓ 1 callersMethod_release_locked
(self, probe: _Probe)
src/filelock/_sqlite/_connection.py:324
↓ 1 callersMethod_release_serialized
(self, *, force: bool)
src/filelock/_async_lock/_release.py:126
↓ 1 callersMethod_release_then_unlink
(self, fd: int, identity: tuple[int, int])
src/filelock/_soft/_exclusive/_publication.py:202
↓ 1 callersMethod_release_through_backend
(self)
src/filelock/_async_lock/_release.py:146
↓ 1 callersMethod_release_with_timeout
(self, timeout: float)
src/filelock/_soft/_strict/_release.py:61
↓ 1 callersFunction_remove_dead_links
(path: Path, identity: DatabaseIdentity, owner: int)
src/filelock/_sqlite/_links.py:190
↓ 1 callersFunction_remove_dead_links_below
( # pragma: needs posix-hard-link fd: int, identity: DatabaseIdentity, names: list[str], *, depth: int )
src/filelock/_sqlite/_links.py:210
↓ 1 callersFunction_remove_dead_links_on_windows
(path: Path, identity: DatabaseIdentity)
src/filelock/_sqlite/_links.py:336
↓ 1 callersFunction_remove_link_directory_on_windows
(link: LinkDirectory)
src/filelock/_sqlite/_links.py:352
↓ 1 callersFunction_remove_privilege
()
tasks/deny_symlink.py:105
↓ 1 callersFunction_renameat2
(libc: ctypes.CDLL)
src/filelock/_filesystem/_exchange.py:130
↓ 1 callersMethod_replace_unfinished_marker
(self, fd: int)
src/filelock/_native/_unix.py:368
↓ 1 callersFunction_report
(samples: list[Sample])
tasks/benchmark.py:202
↓ 1 callersMethod_report_compromise
( self, claim: LeaseClaim, reason: CompromiseReason, error: OSError | None,
src/filelock/_soft/_lease.py:209
↓ 1 callersFunction_reports_object_tracebacks
()
tasks/capabilities.py:276
↓ 1 callersMethod_reset_after_fork_in_child
(self)
src/filelock/_core/_fork.py:45
↓ 1 callersMethod_reset_class_after_fork
(cls)
src/filelock/_core/_fork.py:60
↓ 1 callersMethod_reset_class_after_fork
(cls)
src/filelock/_sqlite/_fork.py:69
↓ 1 callersFunction_resiliently
(action: Callable[[], object])
tasks/verify_filesystem.py:139
↓ 1 callersMethod_restore_claimed
(self, own: str, breaker_pid: int, marker: os.stat_result)
src/filelock/_soft/_exclusive/_recovery.py:178
↓ 1 callersMethod_restore_stranded_marker
(self, breaker_pid: int, marker: os.stat_result)
src/filelock/_soft/_exclusive/_recovery.py:131
↓ 1 callersFunction_retire_displaced_marker
(fd: int)
src/filelock/_soft/_exclusive/_publication.py:259
↓ 1 callersMethod_retry_interrupted_release
( self, snapshot: tuple[int, int] | None, release_error: BaseException, *, force: bool, transition_hel
src/filelock/_core/_release.py:178
↓ 1 callersMethod_return_claim
(self, own: str, breaker_pid: int)
src/filelock/_soft/_exclusive/_recovery.py:203
↓ 1 callersMethod_rollback_backend_cancelled_acquire
(self, acquire_error: asyncio.CancelledError)
src/filelock/_async_lock/_acquire.py:232
↓ 1 callersMethod_rollback_failed_registration
(self, registration_error: BaseException)
src/filelock/_core/_acquire.py:242
↓ 1 callersMethod_rollback_failed_registration_async
(self, registration_error: BaseException)
src/filelock/_async_lock/_acquire.py:189
↓ 1 callersMethod_run_acquire
(self, acquire: functools.partial[AcquireReturnProxy])
src/filelock/_async_lock/_backends.py:165
↓ 1 callersMethod_run_acquire_attempt
(self)
src/filelock/_async_lock/_acquire.py:94
↓ 1 callersFunction_run_one
(name: str, mounts: list[Path])
tasks/verify_filesystem.py:78
↓ 1 callersFunction_run_shared_threads
(target: Callable[[int], None])
tests/core/test_admission.py:92
↓ 1 callersFunction_runs_a_raised_signal_handler_at_once
()
tasks/capabilities.py:193
↓ 1 callersFunction_same_exception_tree
(first: BaseException, second: BaseException)
src/filelock/_core/_errors.py:263
↓ 1 callersMethod_scan
(parent: Path, identity: DatabaseIdentity, owner: int)
src/filelock/_sqlite/_links.py:93
↓ 1 callersMethod_sentinel_identity
(self, fd: int, path: Path)
src/filelock/_soft/_strict/_lock.py:194
↓ 1 callersFunction_set_invalid_lifetime
( lock_type: type[SoftFileLock | AsyncSoftFileLock], entry_point: Literal["constructor", "setter"],
tests/soft/exclusive/test_lock_lifetime.py:89
↓ 1 callersFunction_set_lifetime
( lock_type: type[FileLock | AsyncFileLock], entry_point: Literal["constructor", "setter"], lock:
tests/core/test_lifetime.py:70
↓ 1 callersFunction_set_poll_interval
( lock_type: type[BaseFileLock], entry_point: Literal["constructor", "setter", "acquire"], lock: B
tests/core/test_timeout.py:208
↓ 1 callersFunction_set_poll_interval
( lock_type: type[BaseAsyncFileLock], entry_point: Literal["constructor", "setter", "acquire"], lo
tests/async_lock/test_acquire.py:56
↓ 1 callersMethod_settle_head
(self)
src/filelock/_async_lock/_transitions.py:92
↓ 1 callersFunction_settle_opened_directory_mode
( lock_file: str, directory: Path, mode: int, fd: int, found: os.stat_result )
src/filelock/_soft/_strict/_directories.py:193
↓ 1 callersFunction_sid_from_text
(text: str)
src/filelock/_filesystem/_windows/_directories.py:216
↓ 1 callersMethod_singleton
( cls: type[_T], lock_file: str | os.PathLike[str], params: dict[str, LockInitValue |
src/filelock/_core/_singleton.py:113
↓ 1 callersMethod_singleton_extra_mismatches
( # ruff:ignore[no-self-use] # the base class adds no options of its own self, _kwargs: Mapping[str,
src/filelock/_core/_lock.py:394
↓ 1 callersMethod_start_heartbeat
(self, claim: LeaseClaim, fd: int, identity: tuple[int, int], token: str)
src/filelock/_soft/_lease.py:189
↓ 1 callersMethod_start_hold
(self, participant: Participant, holder: int)
src/filelock/_soft/_read_write/_hold.py:78
↓ 1 callersFunction_start_signaled_acquire
(lock: AsyncFileLock)
tests/async_lock/test_admission.py:192
↓ 1 callersMethod_start_timed_release
(self, state: FileLockContext)
src/filelock/_soft/_strict/_release.py:93
↓ 1 callersFunction_start_unawaited_context_failure
( # pragma: needs fcntl lock: AsyncFileLock, body_error: BaseException, release_started: threadin
tests/async_lock/test_executor.py:142
↓ 1 callersMethod_stranded_candidates
(self, breaker_pid: int)
src/filelock/_soft/_exclusive/_recovery.py:137
↓ 1 callersMethod_submit
( self, func: Callable[_P, _R], *args: _P.args, **kwargs: _P.kwargs )
src/filelock/_async_lock/_backends.py:190
↓ 1 callersFunction_supports_file_mode
()
tasks/capabilities.py:291
↓ 1 callersFunction_supports_unlinking_an_open_file
()
tasks/capabilities.py:48
↓ 1 callersFunction_survives_settrace_inside_audit_hook
()
tasks/capabilities.py:222
↓ 1 callersMethod_sweep_batch
(self, directory: Path, names: list[str], kind: str, watched: set[str])
src/filelock/_soft/_read_write/_sweep.py:103
↓ 1 callersFunction_timeout_cpu
(root: Path)
tasks/benchmark.py:81
↓ 1 callersMethod_transition_admission
(self, wait: AcquireWait)
src/filelock/_core/_acquire.py:69
↓ 1 callersMethod_try_break_expired_lock
(self)
src/filelock/_core/_acquire.py:185
↓ 1 callersMethod_try_break_pinned_lock
(self, pinned: int | None)
src/filelock/_soft/_lease.py:298
↓ 1 callersMethod_try_break_stale_lock
(self)
src/filelock/_soft/_lease.py:293
↓ 1 callersMethod_try_break_stale_lock
(self)
src/filelock/_soft/_exclusive/_publication.py:159
↓ 1 callersFunction_uncontended
(root: Path)
tasks/benchmark.py:68
↓ 1 callersMethod_undo_in_flight_acquire
(self, canonical: str, depth: int, previous: int | None, error: BaseException)
src/filelock/_core/_acquire.py:326
↓ 1 callersFunction_unlink_error
(path: Path)
src/filelock/_soft/_strict/_publication.py:306
↓ 1 callersFunction_unlink_link_to
(identity: DatabaseIdentity, dir_fd: int)
src/filelock/_sqlite/_links.py:238
↓ 1 callersMethod_unlink_open_marker
(self, fd: int, identity: tuple[int, int])
src/filelock/_soft/_exclusive/_publication.py:223
↓ 1 callersMethod_unlink_probe
(name: Path, opened: list[int])
src/filelock/_native/_unix.py:275
↓ 1 callersMethod_unprobeable_holder
(self)
src/filelock/_core/_acquire.py:297
↓ 1 callersFunction_unsupported_async_options
( option: Literal["thread_local", "loop", "run_in_executor", "executor"], loop: asyncio.AbstractEventL
tests/core/test_subclass_options.py:122
↓ 1 callersFunction_user_sid
()
src/filelock/_filesystem/_windows/_directories.py:194
↓ 1 callersFunction_varint
(value: int)
tests/sqlite/test_connection_schema.py:104
↓ 1 callersFunction_verify_across
(mounts: list[Path])
tasks/verify_filesystem.py:58
↓ 1 callersMethod_wait_for
( self, predicate: Callable[[], bool], *, deadline: float | None, bloc
src/filelock/_soft/_read_write/_lock.py:357
↓ 1 callersMethod_write_lock_info
(fd: int)
src/filelock/_soft/_exclusive/_publication.py:151
↓ 1 callersFunctionacquire
()
tests/async_lock/test_admission.py:195
↓ 1 callersMethodacquire
Acquire the lock and return an async context manager that releases one level on exit. :param timeout: seconds to wait, negative for
src/filelock/_async_lock/_lock.py:211
↓ 1 callersFunctionacquire_and_release
()
tests/async_lock/test_admission.py:217
↓ 1 callersMethodacquire_escrow
( # pragma: <3.12 cover # pragma: needs fork self, functions: tuple[Callable[[sqlite3.Connec
src/filelock/_sqlite/_connection.py:250
← previousnext →701–800 of 3,548, ranked by callers