MCPcopy Create free account

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

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

Functiontest_wait_on_previous_release_preserves_current_hold
(lock_path: Path, mocker: MockerFixture)
tests/soft/strict/test_release_observers.py:204
Functiontest_waiter_after_directory_rename_does_not_lock_a_new_file
( lock_type: type[BaseFileLock], working_directories: tuple[Path, Path] )
tests/core/test_relative_paths.py:110
Functiontest_waiter_fd_cannot_split_lock_after_release
(tmp_path: Path)
tests/native/test_file_identity.py:89
Functiontest_waiting_contender_keeps_an_undeletable_record
( lock_file: str, files: OsFiles, root: str, mocker: MockerFixture )
tests/soft/read_write/test_participant.py:229
Functiontest_waiting_contender_republishes_a_swept_record
(lock_file: str, files: OsFiles, root: str)
tests/soft/read_write/test_participant.py:93
Functiontest_windows_cancelling_oplock_wait_ends_a_call_that_still_waits
()
tests/filesystem/windows/test_oplocks.py:184
Functiontest_windows_close_failure_still_commits_release
(tmp_path: Path, mocker: MockerFixture)
tests/native/test_native_release.py:83
Functiontest_windows_delete_in_progress_is_contention_not_denial
(tmp_path: Path)
tests/native/test_windows.py:35
Functiontest_windows_delete_pending_is_treated_as_contention
(tmp_path: Path, mocker: MockerFixture)
tests/filesystem/windows/test_handles.py:18
Functiontest_windows_directory_only_the_account_can_write_connects_by_name
( # pragma: win32 cover tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_connection_windows.py:198
Functiontest_windows_directory_pin_retries_after_oplock_break
( # pragma: win32 cover tmp_path: Path, directory: str, mocker: MockerFixture )
tests/soft/strict/test_windows_publication.py:28
Functiontest_windows_directory_whose_acl_can_be_rewritten_gets_a_private_link
( # pragma: win32 cover tmp_path: Path, mocker: MockerFixture, right: str )
tests/sqlite/test_connection_windows.py:181
Functiontest_windows_directory_whose_acl_cannot_be_read_gets_a_private_link
( # pragma: win32 cover tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_connection_windows.py:159
Functiontest_windows_drive_case_does_not_bypass_deadlock_detection
(tmp_path: Path, lock_type: type[BaseFileLock])
tests/core/test_singleton.py:286
Functiontest_windows_live_process_marker_retained
(lock_path: Path)
tests/soft/exclusive/test_recovery_filesystem.py:139
Functiontest_windows_live_process_marker_without_start_token_retained
(lock_path: Path)
tests/soft/exclusive/test_recovery_filesystem.py:149
Functiontest_windows_modules_export_nothing_off_windows
(module: str)
tests/filesystem/windows/test_exports.py:20
Functiontest_windows_nonblocking_acquire_does_not_wait_for_oplock
(tmp_path: Path, mocker: MockerFixture)
tests/filesystem/windows/test_oplocks.py:42
Functiontest_windows_open_read_without_oplock_wait_can_refuse_delete_sharing
(tmp_path: Path)
tests/filesystem/windows/test_oplocks.py:136
Functiontest_windows_open_read_without_oplock_wait_reads_the_file
(tmp_path: Path)
tests/filesystem/windows/test_oplocks.py:123
Functiontest_windows_open_read_without_oplock_wait_refuses_a_symlink
(tmp_path: Path)
tests/filesystem/windows/test_oplocks.py:160
Functiontest_windows_open_read_without_oplock_wait_reports_a_missing_file
(tmp_path: Path)
tests/filesystem/windows/test_oplocks.py:150
Functiontest_windows_open_without_oplock_wait_reports_the_break_as_contention
( oplocked_lock_path: Path, opener: str )
tests/filesystem/windows/test_oplocks.py:173
Functiontest_windows_oplock_on_lock_file_does_not_outlast_deadline
( oplocked_lock_path: Path, timeout: float, *, blocking: bool )
tests/filesystem/windows/test_oplocks.py:32
Functiontest_windows_owner_only_mode_keeps_out_the_directory_acl
( inheriting_directory: Path, mode: int, *, inherits: bool )
tests/native/test_windows.py:69
Functiontest_windows_permanent_denial_raises_without_timeout
(tmp_path: Path, mocker: MockerFixture)
tests/filesystem/windows/test_handles.py:27
Functiontest_windows_private_directory_ignores_a_journal_left_beside_the_database
( # pragma: win32 cover tmp_path: Path, )
tests/sqlite/test_connection_side_files.py:117
Functiontest_windows_private_link_pin_blocks_rename
(tmp_path: Path)
tests/filesystem/windows/test_directories.py:19
Functiontest_windows_private_link_pin_rejects_junction
( # pragma: win32 cover tmp_path: Path, create_junction: Callable[[Path, Path], None] )
tests/filesystem/windows/test_directories.py:30
Functiontest_windows_process_probe_closes_handles
(lock_path: Path)
tests/soft/exclusive/test_recovery_filesystem.py:155
Functiontest_windows_read_write_keeps_private_link_pinned_until_sqlite_opens
( # pragma: win32 cover everyone_writable_database: Path, tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_connection_windows.py:54
Functiontest_windows_read_write_rejects_changed_database_link
(tmp_path: Path, mocker: MockerFixture)
tests/sqlite/test_connection_windows.py:40
Functiontest_windows_release_does_not_wait_for_an_oplock_taken_after_the_close
( tmp_path: Path, hold_oplock: Callable[[Path], Callable[[], None]], mocker: MockerFixture )
tests/filesystem/windows/test_oplocks.py:54
Functiontest_windows_release_keeps_lock_held_when_unlock_fails
(tmp_path: Path, mocker: MockerFixture)
tests/native/test_native_release.py:68
Functiontest_windows_release_spares_a_replacement
(lock_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_publication_release.py:103
Functiontest_windows_reparse_point_lock_file_rejected
(tmp_path: Path)
tests/native/test_windows.py:22
Functiontest_windows_shared_directory_ignores_a_journal_beside_the_database
( # pragma: win32 cover everyone_writable_database: Path, tmp_path: Path )
tests/sqlite/test_connection_side_files.py:89
Functiontest_windows_shared_directory_ignores_an_undeletable_file_at_the_wal_name
( # pragma: win32 cover everyone_writable_database: Path, )
tests/sqlite/test_connection_side_files.py:105
Functiontest_windows_shared_directory_leaves_only_the_database_after_release
( # pragma: win32 cover everyone_writable_database: Path, )
tests/sqlite/test_connection_windows.py:210
Functiontest_windows_shared_directory_refuses_a_link_directory_others_can_write
( # pragma: win32 cover everyone_writable_database: Path, mocker: MockerFixture )
tests/sqlite/test_connection_windows.py:237
Functiontest_windows_shared_directory_release_keeps_a_directory_renamed_onto_the_link
( # pragma: win32 cover everyone_writable_database: Path, tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_connection_windows.py:249
Functiontest_windows_shared_directory_removes_the_link_after_a_failure
( # pragma: win32 cover everyone_writable_database: Path, mocker: MockerFixture, boundary: str )
tests/sqlite/test_connection_windows.py:225
Functiontest_windows_shared_directory_sweep_keeps_a_file_that_is_not_a_link_to_the_database
( # pragma: win32 cover everyone_writable_database: Path, )
tests/sqlite/test_connection_windows.py:294
Functiontest_windows_shared_directory_sweep_keeps_the_link_of_a_live_holder
( # pragma: win32 cover everyone_writable_database: Path, windows_link_holder: subprocess.Popen[str] )
tests/sqlite/test_connection_windows.py:308
Functiontest_windows_shared_directory_sweeps_the_link_of_a_dead_holder
( # pragma: win32 cover everyone_writable_database: Path, )
tests/sqlite/test_connection_windows.py:274
Functiontest_windows_stale_lock_broken_when_pid_recycled
(lock_path: Path)
tests/soft/exclusive/test_recovery_filesystem.py:130
Functiontest_windows_stale_lock_held_on_access_denied
( # pragma: win32 cover lock_path: Path, mocker: MockerFixture )
tests/soft/exclusive/test_recovery_filesystem.py:121
Functiontest_windows_stale_lock_uses_captured_process_error
( # pragma: win32 cover lock_path: Path, mocker: MockerFixture )
tests/soft/exclusive/test_recovery_filesystem.py:99
Functiontest_windows_transient_denial_is_retried_within_grace
(tmp_path: Path, mocker: MockerFixture)
tests/filesystem/windows/test_handles.py:38
Functiontest_windows_unlink_without_oplock_wait_deletes_a_symlink_not_its_target
(tmp_path: Path)
tests/filesystem/windows/test_oplocks.py:110
Functiontest_windows_unlink_without_oplock_wait_leaves_an_oplocked_file
( tmp_path: Path, hold_oplock: Callable[[Path], Callable[[], None]] )
tests/filesystem/windows/test_oplocks.py:96
Functiontest_windows_unlink_without_oplock_wait_reports_a_file_held_without_delete_sharing
(tmp_path: Path)
tests/filesystem/windows/test_oplocks.py:82
Functiontest_windows_unlink_without_oplock_wait_reports_a_missing_file
(tmp_path: Path, name: str)
tests/filesystem/windows/test_oplocks.py:73
Functiontest_winner_leaves_existing_file_as_found
(tmp_path: Path, mode: int)
tests/native/test_unix_modes.py:66
Functiontest_worker_can_enter_a_peer_only_after_withdrawal
(lock_path: Path, caplog: pytest.LogCaptureFixture)
tests/soft/strict/test_release_interruption.py:94
Functiontest_worker_cannot_wait_for_its_own_receipt
(lock_path: Path, mocker: MockerFixture)
tests/soft/strict/test_release_observers.py:237
Functiontest_worker_reentrant_release_preserves_claim_until_withdrawal
(lock_path: Path, mocker: MockerFixture)
tests/soft/strict/test_release_observers.py:33
Functiontest_worker_start_interruption_keeps_claim
(lock_path: Path, mocker: MockerFixture)
tests/soft/strict/test_release_worker.py:183
Functiontest_worker_withdraws_after_a_reentrant_start_callback
(lock_path: Path, mocker: MockerFixture)
tests/soft/strict/test_release_observers.py:144
Functiontest_writability_allows_creation_after_marker_disappears
(readonly_marker: Path, mocker: MockerFixture)
tests/filesystem/test_files.py:106
Functiontest_writability_check_does_not_follow_symlink_to_dir
(tmp_path: Path)
tests/filesystem/test_files.py:36
Functiontest_writability_check_does_not_follow_symlink_to_readonly
(tmp_path: Path)
tests/filesystem/test_files.py:45
Functiontest_writability_check_ignores_symlink_swapped_in_after_lstat
(readonly_marker: Path, mocker: MockerFixture)
tests/filesystem/test_files.py:119
Functiontest_writability_check_rejects_a_directory
(tmp_path: Path, mode: int, mtime: int)
tests/filesystem/test_files.py:62
Functiontest_writability_check_rejects_a_readonly_file
(tmp_path: Path, mtime: int)
tests/filesystem/test_files.py:75
Functiontest_writability_rejects_denied_marker
(readonly_marker: Path, mocker: MockerFixture)
tests/filesystem/test_files.py:132
Functiontest_writability_uses_open_credentials
( readonly_marker: Path, mocker: MockerFixture, mode: int, *, effective_ids: bool )
tests/filesystem/test_files.py:90
Functiontest_writable_target_requires_exchange_when_its_flock_differs
( # pragma: needs fcntl tmp_path: Path, mocker: MockerFixture, *, exchange: bool )
tests/native/test_unix_probe.py:256
Functiontest_write_failure_rolls_back_acquire
(lock_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_publication_rollback.py:32
Functiontest_write_head_cleans_up_a_failed_update
(tmp_path: Path, mocker: MockerFixture, operation: str)
tests/soft/read_write/test_storage.py:168
Functiontest_write_head_keeps_a_rename_that_landed_before_an_error
(tmp_path: Path, mocker: MockerFixture)
tests/soft/read_write/test_storage.py:176
Functiontest_write_head_replaces_the_previous_record
(tmp_path: Path, mocker: MockerFixture)
tests/soft/read_write/test_storage.py:153
Functiontest_write_lock_context_manager_overrides_defaults
(lock_file: str)
tests/sqlite/test_lock_settings.py:144
Functiontest_write_lock_custom_blocking
(lock_file: str)
tests/sqlite/test_transactions.py:143
Functiontest_write_lock_drop_from_different_thread_needs_an_explicit_override
( lock_file: str, lock: SoftReadWriteLock, drop: Callable[[SoftReadWriteLock], None] )
tests/soft/read_write/test_hold.py:91
Functiontest_write_lock_drop_from_different_thread_needs_an_explicit_override
( lock_file: str, drop: Callable[[ReadWriteLock], None] )
tests/sqlite/test_transactions_threads.py:113
Functiontest_write_lock_excludes_contender
(lock_file: str, contender_mode: Literal["read", "write"])
tests/soft/read_write/test_lock_contention.py:77
Functiontest_write_lock_excludes_other_write_locks
(lock_file: str)
tests/sqlite/test_lock_contention.py:56
Functiontest_write_lock_is_thread_pinned
(lock: SoftReadWriteLock)
tests/soft/read_write/test_hold.py:57
Functiontest_write_lock_reentrant_from_different_thread_prohibited
(lock_file: str)
tests/sqlite/test_transactions.py:172
Functiontest_write_lock_release_from_different_thread_prohibited
(lock_file: str, lock: SoftReadWriteLock)
tests/soft/read_write/test_hold.py:75
Functiontest_write_lock_release_from_different_thread_prohibited
(lock_file: str)
tests/sqlite/test_transactions_threads.py:23
Functiontest_write_lock_with_mapped_overflow_uid
(sticky_dir_with_mapped_owner: Path)
tests/soft/read_write/test_lock_storage.py:133
Functiontest_write_non_starvation
(lock_file: str)
tests/sqlite/test_lock_contention.py:136
Functiontest_write_release_lands_on_another_executor_thread
(lock_file: str)
tests/sqlite/test_async_executor.py:89
Functiontest_write_retried_after_its_begin_waited_is_acquired
(lock_file: str, mocker: MockerFixture)
tests/sqlite/test_async_release_cancellation.py:218
Functiontest_writer_admission_after_the_last_reader_leaves_is_a_commit
(lock_file: str, files: OsFiles, root: str)
tests/soft/read_write/test_participant.py:271
Functiontest_writer_drains_existing_readers
(lock_file: str)
tests/soft/read_write/test_lock_contention.py:94
Functiontest_writer_evicted_while_draining_queues_behind_its_evictor
( lock_file: str, monkeypatch: pytest.MonkeyPatch )
tests/soft/read_write/test_lock_contention.py:242
Functiontest_writer_preference_blocks_new_readers
(lock_file: str)
tests/soft/read_write/test_lock_contention.py:112
Functiontest_writer_refuses_a_read_only_connection
(lock_file: str, mocker: MockerFixture)
tests/sqlite/test_connection.py:207
Functiontest_writer_timeout_commits_itself_out
(lock_file: str)
tests/soft/read_write/test_lock_contention.py:330
Functiontest_writer_timeout_releases_pending_lock
(lock_file: str)
tests/sqlite/test_lock_contention.py:261
Functiontest_wrong_platform
(lock_type: type[BaseFileLock], tmp_path: Path)
tests/native/test_unix_fallback.py:385
Functiontest_zero_offset_cache_requires_the_same_pinned_namespace
( create: Callable[[Path], None], *, cached: bool, tmp_path: Path, mocker: MockerFixture )
tests/identity/test_process.py:152
Functiontest_zero_write_rolls_back_acquire
(lock_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_publication_rollback.py:106
Functionthird_contender_polls
(path: str | os.PathLike[str], *args: int, **kwargs: int | None)
tests/filesystem/test_exchange.py:168
Functionthread_work
()
tests/core/test_threading.py:49
Functiontick
()
tests/soft/strict/test_scan.py:69
Functiontick
(seconds: float)
tests/soft/strict/test_sentinel.py:227
← previousnext →3,401–3,500 of 3,548, ranked by callers