MCPcopy Create free account

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

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

↓ 1 callersFunction_count_refreshes
(mocker: MockerFixture)
tests/soft/test_lease_release.py:244
↓ 1 callersMethod_create_singleton
( cls, normalized: str, lock_file: str | os.PathLike[str], create: Callable[[], SoftReadWriteLock]
src/filelock/_soft/_read_write/_lock.py:126
↓ 1 callersFunction_current_process_handle_count
()
tests/soft/exclusive/test_recovery_filesystem.py:168
↓ 1 callersMethod_deadlock_scope
()
src/filelock/_core/_acquire.py:135
↓ 1 callersMethod_defer_withdrawal
(self, state: FileLockContext)
src/filelock/_soft/_strict/_lock.py:362
↓ 1 callersFunction_delivers_audit_events
()
tasks/capabilities.py:213
↓ 1 callersFunction_describe
(error: BaseException)
tasks/verify_filesystem.py:168
↓ 1 callersFunction_describe_soft_marker
(content: str)
src/filelock/_soft/_strict/_sentinel.py:132
↓ 1 callersFunction_descriptor_growth
(root: Path)
tasks/benchmark.py:97
↓ 1 callersMethod_descriptors_for_fork
(self)
src/filelock/_core/_fork.py:52
↓ 1 callersFunction_detach_child_state
( # pragma: forked child descriptors: list[_OwnedDescriptor], pinned_objects: tuple[ForkResettable, .
src/filelock/_core/_fork.py:320
↓ 1 callersFunction_detach_exception_context
(error: BaseException, target: BaseException)
src/filelock/_core/_errors.py:169
↓ 1 callersFunction_detach_grouped_contexts
(errors: tuple[BaseException, ...])
src/filelock/_core/_errors.py:241
↓ 1 callersFunction_developer_mode
()
tasks/deny_symlink.py:78
↓ 1 callersMethod_directory_lacks_flock
(self)
src/filelock/_native/_unix.py:235
↓ 1 callersFunction_discard_created_marker
(handle: int, path: str)
src/filelock/_filesystem/_windows/_oplocks.py:187
↓ 1 callersMethod_discard_interrupted_open
(self, fd: int)
src/filelock/_native/_unix.py:361
↓ 1 callersMethod_do_acquire_inner
( self, mode: Mode, deadline: float | None, holder: int, *, bl
src/filelock/_soft/_read_write/_lock.py:331
↓ 1 callersMethod_drop_holds_via
( self, via: Hashable | None )
src/filelock/_async_lock/_owners.py:282
↓ 1 callersFunction_enforces_file_permissions
()
tasks/capabilities.py:296
↓ 1 callersMethod_enter
(self, token: str, mode: Literal["read", "write"], granted_at: int | None)
tests/soft/read_write/test_participant_model.py:215
↓ 1 callersFunction_evict_every_holder
(tmp_path: Path)
tests/soft/read_write/test_async_hold.py:214
↓ 1 callersFunction_exception_graph_contains
(error: BaseException, target: BaseException)
src/filelock/_core/_errors.py:203
↓ 1 callersMethod_exchange_created_file
(self, soft: SoftFileLock, marker: os.stat_result, created: list[int])
src/filelock/_native/_unix.py:354
↓ 1 callersFunction_exchange_until_aside
(lock_file: str, aside: str, own: os.stat_result)
src/filelock/_filesystem/_exchange.py:193
↓ 1 callersMethod_execute_waiting
( connection: ForkSafeConnection, statements: tuple[str, ...], timeout: float,
src/filelock/_sqlite/_transactions.py:225
↓ 1 callersFunction_exports_interpreter_states
()
tasks/capabilities.py:342
↓ 1 callersMethod_extend
(config: TConfigurable, option: str, patterns: list[str])
tasks/coverage_pragmas.py:56
↓ 1 callersMethod_extends_the_log
(self, generation: int)
src/filelock/_soft/_read_write/_generations.py:181
↓ 1 callersFunction_fake_open_transaction
(lock: ReadWriteLock, mocker: MockerFixture)
tests/sqlite/test_transactions.py:364
↓ 1 callersFunction_fill_link_directory
(link: LinkDirectory, database: str, identity: DatabaseIdentity)
src/filelock/_sqlite/_links.py:325
↓ 1 callersMethod_finalize_locked_fd
(self, fd: int)
src/filelock/_native/_unix.py:318
↓ 1 callersFunction_finalizes_on_collection
()
tasks/capabilities.py:87
↓ 1 callersFunction_finalizes_on_last_reference
()
tasks/capabilities.py:75
↓ 1 callersMethod_find
(self)
src/filelock/_soft/_read_write/_generations.py:54
↓ 1 callersFunction_finishes_a_generator_a_profile_hook_interrupts_on_resume
()
tasks/capabilities.py:166
↓ 1 callersFunction_flush_coverage
()
tests/fork_helpers.py:54
↓ 1 callersFunction_give_up_reading
(lock: AsyncReadWriteLock)
tests/sqlite/test_async_contention.py:262
↓ 1 callersFunction_grants_a_file_lease
()
tasks/capabilities.py:260
↓ 1 callersFunction_has_a_sticky_tmp_of_another_user
()
tasks/capabilities.py:318
↓ 1 callersFunction_has_transient
(error: BaseException)
tasks/verify_filesystem.py:162
↓ 1 callersMethod_holds_level_of
(self, thread_id: int)
src/filelock/_sqlite/_lock.py:452
↓ 1 callersFunction_honors_link_follow_symlinks
()
tasks/capabilities.py:61
↓ 1 callersFunction_identity
(path: str, dir_fd: int | None)
src/filelock/_soft/_read_write/_storage.py:331
↓ 1 callersMethod_incarnation
(self)
src/filelock/_soft/_read_write/_generations.py:71
↓ 1 callersFunction_innermost_pid
(task: int)
src/filelock/_identity/_process.py:234
↓ 1 callersMethod_invoke_on_acquired
(self)
src/filelock/_core/_acquire.py:259
↓ 1 callersMethod_invoke_on_acquired_async
(self)
src/filelock/_async_lock/_acquire.py:205
↓ 1 callersMethod_keep_claim_fresh
(self, latest: Snapshot)
src/filelock/_soft/_read_write/_participant.py:127
↓ 1 callersFunction_leaf_error_messages
(error: BaseException)
tests/soft/strict/test_publication_withdrawal_errors.py:192
↓ 1 callersFunction_leave_pending_doorway_in_exited_thread
(lock: StrictSoftFileLock, mocker: MockerFixture)
tests/soft/strict/test_publication_withdrawal_pending.py:130
↓ 1 callersFunction_link_private_record
( directory_ref: tuple[str, int | None], names: tuple[str, str], private_identity: tuple[int, int]
src/filelock/_soft/_strict/_publication.py:169
↓ 1 callersFunction_link_relative
(directory_ref: tuple[str, int | None], source_name: str, destination_name: str)
src/filelock/_soft/_strict/_publication.py:203
↓ 1 callersFunction_linux_owner_probe
()
src/filelock/_filesystem/_ownership.py:44
↓ 1 callersFunction_linux_uid_is_unambiguous
(owner: int, fd: int | None)
src/filelock/_filesystem/_ownership.py:32
↓ 1 callersMethod_list
(self)
src/filelock/_soft/_read_write/_generations.py:84
↓ 1 callersFunction_live_asyncio_futures
()
tests/sqlite/test_async_contention.py:267
↓ 1 callersFunction_make_private_link_directories
( parent_fd: int, outer: str, inner: str, parent: Path )
src/filelock/_sqlite/_links.py:177
↓ 1 callersMethod_mark_rollback_tried
(self)
src/filelock/_async_lock/_acquire.py:229
↓ 1 callersMethod_marker_has_break_name
(self, held: os.stat_result)
src/filelock/_soft/_lease.py:270
↓ 1 callersFunction_marker_identity_at
(name: str)
src/filelock/_soft/_exclusive/_publication.py:252
↓ 1 callersMethod_marker_is_live
(cls, content: str | None, breaker_pid: int)
src/filelock/_soft/_exclusive/_recovery.py:209
↓ 1 callersFunction_name_writers
(dacl: int)
src/filelock/_filesystem/_windows/_directories.py:182
↓ 1 callersMethod_needs_soft_acquire
(self, fd: int, created: list[int])
src/filelock/_native/_unix.py:294
↓ 1 callersFunction_nt_open
(path: str, *, read_only: bool, owner_only: bool)
src/filelock/_filesystem/_windows/_handles.py:198
↓ 1 callersFunction_one
(run: Callable[[], object])
tasks/benchmark.py:184
↓ 1 callersMethod_open_connection
(self, *, sqlite_timeout: float)
src/filelock/_sqlite/_transactions.py:130
↓ 1 callersFunction_open_descriptors
()
tasks/benchmark.py:195
↓ 1 callersMethod_open_existing_lock_file
(self, existing: list[int], open_flags: int, open_mode: int)
src/filelock/_native/_unix.py:207
↓ 1 callersMethod_open_for_acquisition
(self, timeout: float, *, blocking: bool, operation: Operation)
src/filelock/_sqlite/_transactions.py:96
↓ 1 callersMethod_open_lock_file
(self, created: list[int], existing: list[int])
src/filelock/_native/_unix.py:170
↓ 1 callersMethod_open_probe
(opened: list[int], path: str, flags: int)
src/filelock/_native/_unix.py:266
↓ 1 callersFunction_open_sentinel
(lock_file: str, path: Path, unchanged_for: Callable[[os.stat_result], float])
src/filelock/_soft/_strict/_sentinel.py:83
↓ 1 callersFunction_owned_protocol_directory
( lock_file: str, directory: Path, fd: int, parent_fd: int | None )
src/filelock/_soft/_strict/_directories.py:179
↓ 1 callersFunction_owner_is_mapped
(fd: int)
src/filelock/_filesystem/_ownership.py:92
↓ 1 callersFunction_owner_runs_elsewhere
(pid: int, start_token: int | None)
src/filelock/_identity/_process.py:213
↓ 1 callersFunction_patch_async_acquire_and_rollback_failure
( mocker: MockerFixture, loop: asyncio.AbstractEventLoop, acquire_started: asyncio.Event, fini
tests/sqlite/test_async_cancellation.py:254
↓ 1 callersFunction_pickle_round_trip
( error: Timeout | SoftFileLockProtocolError, *, protocol: int )
tests/core/test_errors.py:138
↓ 1 callersMethod_pin_lock_path
(self, canonical: str)
src/filelock/_core/_acquire.py:139
↓ 1 callersMethod_pin_lock_path
(self, canonical: str)
src/filelock/_native/_unix.py:142
↓ 1 callersFunction_pinned_for_rename
(path: str)
src/filelock/_filesystem/_exchange.py:216
↓ 1 callersMethod_poll_until_acquired
(self, wait: AcquireWait)
src/filelock/_core/_acquire.py:143
↓ 1 callersFunction_polled_once_and_holds
(lock: MarkerSoftFileLock)
tests/soft/exclusive/test_marker.py:103
↓ 1 callersMethod_prepare_interpreter
()
src/filelock/_sqlite/_fork.py:126
↓ 1 callersFunction_preserves_context_thrown_into_a_generator
()
tasks/capabilities.py:121
↓ 1 callersFunction_privilege_state
()
tasks/deny_symlink.py:92
↓ 1 callersMethod_probe_directory
(self, opened: list[int])
src/filelock/_native/_unix.py:250
↓ 1 callersFunction_probe_link_option
(source: Path, destination: Path)
src/filelock/_soft/_strict/_publication.py:73
↓ 1 callersMethod_probed_create_mode
(self, open_mode: int)
src/filelock/_native/_unix.py:226
↓ 1 callersFunction_propagates_a_cancellation_thrown_into_a_coroutine
()
tasks/capabilities.py:143
↓ 1 callersFunction_public_claim_names
( lock_file: str, directory_ref: tuple[str, int | None], entries: Iterator[os.DirEntry[str]],
src/filelock/_soft/_strict/_scan.py:138
↓ 1 callersMethod_publish
(self, target: str, data: bytes)
src/filelock/_soft/_read_write/_generations.py:187
↓ 1 callersMethod_publish_claims
(self, claim_directory: Path)
src/filelock/_soft/_strict/_lock.py:213
↓ 1 callersMethod_publish_held_claim
( self, claim_directory: Path, intent_name: str, held_name: str, token: str )
src/filelock/_soft/_strict/_lock.py:310
↓ 1 callersMethod_publish_intent_claim
( self, claim_directory: Path, intent_name: str, intent_path: str, token: str )
src/filelock/_soft/_strict/_lock.py:258
↓ 1 callersFunction_publish_record_in_directory
( directory_ref: tuple[str, int | None], names: tuple[str, str], mode: int, record: bytes, )
src/filelock/_soft/_strict/_publication.py:129
↓ 1 callersMethod_publish_successor
(self, successor: Snapshot)
src/filelock/_soft/_read_write/_generations.py:155
↓ 1 callersMethod_published_record
(self)
src/filelock/_soft/_exclusive/_marker.py:84
↓ 1 callersMethod_raise_if_database_replaced
(self, connection: ForkSafeConnection)
src/filelock/_sqlite/_transactions.py:211
↓ 1 callersMethod_raise_if_hold_unusable
(self)
src/filelock/_core/_acquire.py:63
← previousnext →601–700 of 3,548, ranked by callers