MCPcopy Create free account

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

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

↓ 4 callersFunction_probe_link_follow_symlinks
()
src/filelock/_soft/_strict/_publication.py:60
↓ 4 callersMethod_raise_if_unusable
(self)
src/filelock/_async_lock/_backends.py:163
↓ 4 callersMethod_register_context_descriptor
(self)
src/filelock/_core/_state.py:286
↓ 4 callersMethod_register_unverified_context_descriptor
(self)
src/filelock/_core/_state.py:270
↓ 4 callersMethod_take_over
(self, marker: os.stat_result, breaker_pid: int | None)
src/filelock/_soft/_exclusive/_recovery.py:92
↓ 4 callersFunction_timeout_for_sqlite
(timeout: float, *, blocking: bool, already_waited: float)
src/filelock/_sqlite/_transactions.py:256
↓ 4 callersMethod_unlink_owner_claims
( self, state: FileLockContext, *, deadline: float | None = None )
src/filelock/_soft/_strict/_lock.py:289
↓ 4 callersMethod_windows_unlink_if_ours
(self, identity: tuple[int, int])
src/filelock/_soft/_exclusive/_publication.py:108
↓ 4 callersFunctionacquire_after_reclaim
(lock: BaseFileLock)
tests/conftest.py:58
↓ 4 callersFunctionbreak_lock_file
(lock_file: str, mtime_before: float, ino_before: int)
src/filelock/_filesystem/_exchange.py:60
↓ 4 callersFunctioncan_write
(lock: AsyncReadWriteLock)
tests/sqlite/async_helpers.py:31
↓ 4 callersMethodcreate
(self, path: str, data: bytes, *, durable: bool = False)
tests/soft/read_write/test_participant_model.py:280
↓ 4 callersFunctiondescribe_host_name
(hostname: str)
src/filelock/_identity/_host.py:45
↓ 4 callersFunctionencode_holder
(token: str, nonce: str, lease: float)
src/filelock/_soft/_read_write/_storage.py:339
↓ 4 callersFunctionencode_marker
(record: OwnerRecord)
src/filelock/_soft/_records.py:150
↓ 4 callersFunctionfail_directory_close_after
( # pragma: needs dir-fd mocker: MockerFixture, function: str, prefix: str, message: str )
tests/soft/strict/filesystem_faults.py:25
↓ 4 callersFunctionfile_identity
(st: os.stat_result)
src/filelock/_soft/_strict/_directories.py:376
↓ 4 callersFunctionheld_after_reclaim
(lock: _LockT)
tests/conftest.py:49
↓ 4 callersFunctionlink_directories
(shared_database: Path)
tests/sqlite/link_support.py:16
↓ 4 callersFunctionmake_private_directory
Create a directory writable only by the owner, administrators and SYSTEM. :param path: name for the new directory :raises Wi
src/filelock/_filesystem/_windows/_directories.py:227
↓ 4 callersFunctionopen_claim_directory
(directory: str)
src/filelock/_soft/_strict/_directories.py:380
↓ 4 callersFunctionparse_claim_name
(name: str)
src/filelock/_soft/_strict/_claims.py:53
↓ 4 callersFunctionpath_key
(path: str)
src/filelock/_core/_registry.py:27
↓ 4 callersFunctionpin_inode
(lock_file: str)
src/filelock/_filesystem/_files.py:51
↓ 4 callersFunctionpin_time_namespace
( # pragma: linux cover mocker: MockerFixture, namespace: int | OSError, offsets: str | OSError,
tests/pid_namespace_helpers.py:54
↓ 4 callersFunctionprivate_record_name
(public_name: str)
src/filelock/_soft/_strict/_claims.py:132
↓ 4 callersFunctionprobe_lock
(lock_type: type[BaseFileLock], path: str)
tests/core/fork_probes.py:59
↓ 4 callersFunctionpublish
( private_path: Callable[[], str], public_path: str, record: bytes,
tests/soft/strict/test_publication.py:94
↓ 4 callersFunctionraise_body_and_release
(body_error: BaseException, release_error: BaseException)
src/filelock/_core/_errors.py:222
↓ 4 callersFunctionraise_if_hard_links_unsupported
(lock_file: str, error: NotImplementedError | OSError)
src/filelock/_soft/_strict/_publication.py:369
↓ 4 callersFunctionreported_owner
( # pragma: linux cover sticky_fd: int, tmp_path: Path, mocker: MockerFixture )
tests/filesystem/test_ownership.py:98
↓ 4 callersFunctionresolve_poll_interval
(poll_interval: float)
src/filelock/_core/_settings.py:147
↓ 4 callersFunctionreuse_inode
(mocker: MockerFixture)
tests/conftest.py:182
↓ 4 callersFunctionsecond
()
tests/async_lock/test_transitions.py:32
↓ 3 callersFunction_acquire_then_release
(lock: AsyncSoftReadWriteLock, mode: Literal["read", "write"])
tests/soft/read_write/test_async_cancellation.py:112
↓ 3 callersMethod_admit
(self, fd: int, path: str, parent_fd: int | None)
src/filelock/_soft/_read_write/_storage.py:183
↓ 3 callersMethod_allows_soft_fallback
(self)
src/filelock/_native/_unix.py:200
↓ 3 callersMethod_backend_holds
(self)
src/filelock/_async_lock/_backends.py:210
↓ 3 callersMethod_check_give_up
( self, *, blocking: bool, cancel_check: Callable[[], bool] | None, ti
src/filelock/_core/_acquire.py:277
↓ 3 callersMethod_clear_lock_state
(self)
src/filelock/_sqlite/_lock.py:260
↓ 3 callersMethod_close_probe
(opened: list[int])
src/filelock/_native/_unix.py:282
↓ 3 callersMethod_closed_error
(self)
src/filelock/_soft/_read_write/_hold.py:124
↓ 3 callersMethod_commit_acquire
(self, canonical: str)
src/filelock/_core/_acquire.py:311
↓ 3 callersMethod_commit_release_if_released
(self)
src/filelock/_async_lock/_release.py:220
↓ 3 callersMethod_create_holder
(self)
src/filelock/_soft/_read_write/_participant.py:71
↓ 3 callersMethod_directory
(self, path: str, depth: int = 2)
src/filelock/_soft/_read_write/_storage.py:143
↓ 3 callersMethod_finish_interrupted_release
(self)
src/filelock/_core/_release.py:102
↓ 3 callersMethod_finish_marker_cleanup
(self)
src/filelock/_soft/_exclusive/_publication.py:86
↓ 3 callersMethod_finish_transition
( self, *, mode: Literal["read", "write"] | None, holds: dict[asyncio.Task[obj
src/filelock/_async_lock/_owners.py:184
↓ 3 callersFunction_flock_is_missing
(fd: int)
src/filelock/_native/_unix.py:81
↓ 3 callersFunction_fork_event
()
tests/soft/read_write/test_lock_fork.py:83
↓ 3 callersFunction_interrupted_once
(created: Callable[[], bool], operation: Callable[[], object])
tests/soft/exclusive/test_publication_rollback.py:225
↓ 3 callersFunction_lists_every_open_descriptor
(view: str | None)
tasks/capabilities.py:330
↓ 3 callersMethod_mark_descriptor_pending
(self, fd: int, identity: tuple[int, int] | None = None)
src/filelock/_core/_state.py:329
↓ 3 callersMethod_mark_rollback_tried
(self)
src/filelock/_core/_acquire.py:238
↓ 3 callersMethod_marker_names
(self)
src/filelock/_soft/_exclusive/_publication.py:132
↓ 3 callersFunction_pid_namespace
()
src/filelock/_core/_fork.py:154
↓ 3 callersMethod_raise_cancelled_errors
( self, message: str, cancellation: asyncio.CancelledError, first_error: BaseE
src/filelock/_async_lock/_release.py:225
↓ 3 callersMethod_raise_if_acquiring
(self, operation: Literal["close", "release"])
src/filelock/_sqlite/_lock.py:354
↓ 3 callersMethod_raise_if_process_changed
(self, operation_pid: int)
src/filelock/_sqlite/_transactions.py:156
↓ 3 callersMethod_raise_if_unusable
(self)
src/filelock/_soft/_read_write/_async.py:127
↓ 3 callersMethod_raise_if_would_deadlock
(self, canonical: str, *, timeout: float, blocking: bool)
src/filelock/_core/_acquire.py:108
↓ 3 callersMethod_read_owner
(self)
src/filelock/_soft/_exclusive/_marker.py:29
↓ 3 callersMethod_release
(self, thread_id: int, *, force: bool, at_exit: bool = False)
src/filelock/_soft/_read_write/_lock.py:393
↓ 3 callersMethod_release
(self, *, force: bool, close: bool, thread_id: int | None = None)
src/filelock/_sqlite/_lock.py:361
↓ 3 callersMethod_release_current
(self, *, force: bool)
src/filelock/_core/_release.py:92
↓ 3 callersMethod_release_in_context
(self, body_error: BaseException | None)
src/filelock/_core/_release.py:46
↓ 3 callersMethod_release_thread_holds
(self, *, exited_only: bool)
src/filelock/_core/_release.py:199
↓ 3 callersFunction_remove_log
(lock_file: str)
tests/soft/read_write/test_lock_recovery.py:127
↓ 3 callersMethod_resolve_lock_path
(self)
src/filelock/_core/_acquire.py:89
↓ 3 callersFunction_retarget_parent
(lock_path: Path, replacement_path: Path)
tests/core/test_registry.py:187
↓ 3 callersFunction_retarget_parent
(lock_path: Path, replacement_path: Path)
tests/async_lock/test_paths.py:147
↓ 3 callersMethod_rollback_failed_acquire
(self, acquisition_error: BaseException)
src/filelock/_core/_acquire.py:208
↓ 3 callersFunction_sid_at
(address: int)
src/filelock/_filesystem/_windows/_directories.py:224
↓ 3 callersMethod_soft_fallback_for_path
(self)
src/filelock/_native/_unix.py:104
↓ 3 callersFunction_symlinked_lock_paths
(tmp_path: Path)
tests/core/test_registry.py:171
↓ 3 callersFunction_symlinked_lock_paths
(tmp_path: Path)
tests/async_lock/test_paths.py:131
↓ 3 callersMethod_transaction_ended
(self)
src/filelock/_sqlite/_transactions.py:56
↓ 3 callersFunction_wait_for_compromise
(lock: SoftReadWriteLock)
tests/soft/read_write/test_heartbeat.py:172
↓ 3 callersMethod_wait_for_turn
( self, ticket: ConcurrentFuture[None], *, blocking: bool, cancel_chec
src/filelock/_async_lock/_transitions.py:68
↓ 3 callersFunctionacquire_thread_lock
( lock: Lock, *, blocking: bool, timeout: float, poll_interval: float, cancel_check: Callable[[], bool] |
src/filelock/_core/_settings.py:240
↓ 3 callersFunctioncheck_timeout_max
(name: str, value: float)
src/filelock/_core/_settings.py:155
↓ 3 callersFunctionclaim_name
(state: StrictSoftFileClaimState, token: str)
src/filelock/_soft/_strict/_claims.py:117
↓ 3 callersFunctionclose
(fd: int)
tests/soft/exclusive/recovery_helpers.py:81
↓ 3 callersFunctiondescriptor_for_non_reparse
(handle: int, path: str, flags: int)
src/filelock/_filesystem/_windows/_handles.py:269
↓ 3 callersFunctionexchange_back
( lock_file: str, aside: str, fd: int, *, unlink_settled_aside: bool = True )
src/filelock/_filesystem/_exchange.py:180
↓ 3 callersFunctionfail_rollback
( mocker: MockerFixture, loop: asyncio.AbstractEventLoop, rollback_started: asyncio.Event, fin
tests/sqlite/async_helpers.py:108
↓ 3 callersMethodflock
(fd: int, operation: int)
tests/async_lock/cancellation.py:22
↓ 3 callersMethodforget
(self, key: str)
src/filelock/_soft/_read_write/_sweep.py:51
↓ 3 callersFunctionfstat
(fd: int)
tests/soft/test_lease_finalization.py:144
↓ 3 callersFunctiongenerations
(lock_file: str)
tests/soft/read_write/lock_helpers.py:108
↓ 3 callersFunctionget_fcntl
()
tests/async_lock/cancellation.py:33
↓ 3 callersFunctionhide_boot_id
(mocker: MockerFixture)
tests/identity/conftest.py:22
↓ 3 callersMethodhold_for_acquire
Wait for a turn to attempt acquisition. :param blocking: whether to queue behind another transition :param cancel_check: opt
src/filelock/_async_lock/_transitions.py:110
↓ 3 callersFunctionholder
()
tests/async_lock/test_owners.py:196
↓ 3 callersFunctionholder_lease
(record: bytes | None)
src/filelock/_soft/_read_write/_storage.py:350
↓ 3 callersMethodidentity
(path: pathlib.Path)
src/filelock/_sqlite/_fork.py:208
↓ 3 callersFunctionidentity_of_handle
(handle: int)
src/filelock/_filesystem/_windows/_handles.py:356
↓ 3 callersFunctioninterpreter_exiting
()
src/filelock/_core/_shutdown.py:35
↓ 3 callersFunctionis_system_call_failure
(error: BaseException)
src/filelock/_core/_errors.py:314
← previousnext →201–300 of 3,548, ranked by callers