MCPcopy Create free account

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

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

Functiontest_singleton_rejects_different_timeout
(lock_file: str)
tests/sqlite/test_lock_settings.py:81
Functiontest_singleton_rejects_directory_change_during_construction
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/sqlite/test_lock_settings.py:56
Functiontest_singleton_returns_same_instance
(lock_file: str)
tests/soft/read_write/test_lock_singleton.py:26
Functiontest_singleton_returns_same_instance
(lock_file: str)
tests/sqlite/test_lock_settings.py:44
Functiontest_singleton_same_mode_matches
(mode: int, tmp_path: Path)
tests/core/test_settings.py:172
Functiontest_singleton_shares_across_equivalent_spellings
(tmp_path: Path)
tests/core/test_singleton.py:253
Functiontest_singleton_shares_across_windows_drive_case
(tmp_path: Path, lock_type: type[BaseFileLock])
tests/core/test_singleton.py:266
Functiontest_singleton_shares_same_on_acquired
(tmp_path: Path)
tests/core/test_on_acquired.py:195
Functiontest_singleton_shares_through_symlinked_parent
(tmp_path: Path)
tests/core/test_singleton.py:304
Functiontest_singletons_are_distinct_per_subclass
(lock_file: str, order: tuple[int, int, int])
tests/soft/read_write/test_lock_singleton.py:39
Functiontest_snapshot_round_trips
(snapshot: Snapshot)
tests/soft/read_write/test_generations.py:33
Functiontest_socket_lock_file_self_heals
(lock_path: Path)
tests/soft/exclusive/test_recovery_filesystem.py:74
Functiontest_soft_close_error_policy_cleans_marker
( tmp_path: Path, mocker: MockerFixture, policy: CloseErrorPolicy )
tests/async_lock/test_close_errors.py:34
Functiontest_soft_close_error_suppress_policy_cleans_marker
(tmp_path: Path, mocker: MockerFixture)
tests/async_lock/test_close_errors.py:76
Functiontest_soft_close_error_suppression_forced_release_releases_once
(tmp_path: Path, mocker: MockerFixture)
tests/async_lock/test_close_errors.py:100
Functiontest_soft_close_error_suppression_releases_nested_acquisitions_once
( tmp_path: Path, mocker: MockerFixture )
tests/async_lock/test_close_errors.py:86
Functiontest_soft_contender_keeps_its_deadline_under_an_oplocked_live_marker
(oplocked_lock_path: Path)
tests/soft/exclusive/test_recovery.py:305
Functiontest_soft_context_surfaces_close_error_after_cleanup
( tmp_path: Path, mocker: MockerFixture, *, enter: Enter, )
tests/async_lock/test_close_errors.py:112
Functiontest_soft_errors
(tmp_path: Path, mocker: MockerFixture, soft_create_path: str)
tests/soft/exclusive/test_marker_ownership.py:72
Functiontest_soft_file_lease_reads_back_its_own_owner
(tmp_path: Path)
tests/identity/test_host.py:46
Functiontest_soft_file_lock_recognizes_its_own_marker
(tmp_path: Path)
tests/identity/test_host.py:33
Functiontest_soft_is_lock_held_by_us_false_for_unparseable_marker
(tmp_path: Path)
tests/soft/exclusive/test_marker_ownership.py:108
Functiontest_soft_lifetime_none_does_not_warn
(lock_type: type[SoftFileLock | AsyncSoftFileLock], tmp_path: Path)
tests/soft/exclusive/test_lock_lifetime.py:61
Functiontest_soft_lifetime_none_no_expiry
(tmp_path: Path)
tests/soft/exclusive/test_recovery_expiry.py:67
Functiontest_soft_lifetime_polling_does_not_repeat_warning
(tmp_path: Path)
tests/soft/exclusive/test_lock_lifetime.py:172
Functiontest_soft_lifetime_singleton_match_warns_for_each_configuration
( lock_type: type[SoftFileLock | AsyncSoftFileLock], tmp_path: Path )
tests/soft/exclusive/test_lock_lifetime.py:145
Functiontest_soft_lifetime_singleton_mismatch_warns_before_rejection
( lock_type: type[SoftFileLock | AsyncSoftFileLock], tmp_path: Path )
tests/soft/exclusive/test_lock_lifetime.py:160
Functiontest_soft_lifetime_warning_identifies_caller
( lock_type: type[SoftFileLock | AsyncSoftFileLock], strict_lock: str, lease: str, tmp_path: P
tests/soft/exclusive/test_lock_lifetime.py:33
Functiontest_soft_lifetime_warning_shows_under_default_filters
(tmp_path: Path)
tests/soft/exclusive/test_lock_lifetime.py:203
Functiontest_soft_marker_omits_start_line_without_a_start_token
(tmp_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_marker_ownership.py:95
Functiontest_soft_non_expired_lock_not_broken
(tmp_path: Path)
tests/soft/exclusive/test_recovery_expiry.py:59
Functiontest_soft_read_after_the_lost_hold_drains_asks_the_log
(lost_lock: SoftReadWriteLock, lost: threading.Event)
tests/soft/read_write/test_hold.py:142
Functiontest_soft_read_on_a_lost_hold_raises
(lost_lock: SoftReadWriteLock, lost: threading.Event)
tests/soft/read_write/test_hold.py:127
Functiontest_soft_read_release_from_a_thread_without_a_read_level_raises
( lock: SoftReadWriteLock, other_thread: ThreadPoolExecutor )
tests/soft/read_write/test_hold.py:170
Functiontest_soft_read_release_gives_back_only_the_callers_levels
( lock: SoftReadWriteLock, other_thread: ThreadPoolExecutor )
tests/soft/read_write/test_hold.py:196
Functiontest_soft_read_release_of_a_dropped_hold_leaves_a_newer_one_held
( lock: SoftReadWriteLock, other_thread: ThreadPoolExecutor )
tests/soft/read_write/test_hold.py:182
Functiontest_soft_read_write_child_with_matching_pid
( tmp_path: Path, mocker: MockerFixture )
tests/core/test_fork_namespaces.py:170
Functiontest_soft_read_write_construction_crossing_fork_does_not_poison_child_cache
( tmp_path: Path, )
tests/core/test_fork_construction.py:277
Functiontest_soft_read_write_resets_older_same_path_instance
(tmp_path: Path)
tests/core/test_fork_ownership.py:102
Functiontest_soft_read_write_subclass_construction_state_is_reset_after_fork
(tmp_path: Path)
tests/core/test_fork_registries.py:83
Functiontest_soft_read_write_subclass_singleton_is_fresh_after_fork
(tmp_path: Path)
tests/core/test_fork_registries.py:61
Functiontest_soft_rw_singleton_shares_across_windows_drive_case
(tmp_path: Path)
tests/core/test_singleton.py:296
Functiontest_soft_second_release_does_not_close_reused_descriptor
( tmp_path: Path, mocker: MockerFixture, )
tests/async_lock/test_close_errors.py:130
Functiontest_soft_windows_unlink_gives_up_after_every_attempt_is_denied
(tmp_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_publication_cleanup.py:319
Functiontest_soft_windows_unlink_stops_on_non_permission_error
(tmp_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_marker_ownership.py:78
Functiontest_stale_break_admits_no_third_holder_beside_a_recreated_marker
( stale_lock: Path, mocker: MockerFixture, on_break_recheck: Callable[[Path, Callable[[], None]], None], p
tests/filesystem/test_exchange.py:159
Functiontest_stale_break_after_a_breaker_was_killed_keeps_the_holder_alone
( # pragma: win32 no cover lock_path: Path, )
tests/soft/exclusive/test_recovery_takeover.py:355
Functiontest_stale_break_claim_identity_ignores_path_spelling
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:349
Functiontest_stale_break_claim_is_registered_before_it_is_visible
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:281
Functiontest_stale_break_cleans_its_marker_when_the_break_name_becomes_a_directory
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture )
tests/soft/exclusive/test_recovery_exchange.py:206
Functiontest_stale_break_drops_what_it_took_when_the_holder_released_the_path
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:193
Functiontest_stale_break_evicts_a_placeholder_that_names_no_breaker
( # pragma: win32 no cover tmp_path: Path, placeholder: str )
tests/soft/exclusive/test_recovery_takeover.py:289
Functiontest_stale_break_exchanges_back_after_the_breaker_that_took_its_marker
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:80
Functiontest_stale_break_finishes_a_claim_an_unreadable_record_interrupted
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:218
Functiontest_stale_break_ignores_a_claim_naming_no_valid_pid
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, recoverer: str )
tests/soft/exclusive/test_recovery_claim.py:167
Functiontest_stale_break_interrupted_as_create_returns_removes_marker
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_publication_rollback.py:268
Functiontest_stale_break_keeps_a_foreign_record_off_the_lock_path
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, )
tests/soft/exclusive/test_recovery_takeover.py:109
Functiontest_stale_break_keeps_a_live_breakers_name
(tmp_path: Path)
tests/soft/exclusive/test_recovery_takeover.py:132
Functiontest_stale_break_keeps_a_live_breakers_placeholder
(tmp_path: Path)
tests/soft/exclusive/test_recovery_takeover.py:148
Functiontest_stale_break_keeps_every_name_when_the_path_never_comes_back
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:155
Functiontest_stale_break_keeps_its_deadline_under_an_oplocked_marker
( lock_path: Path, hold_oplock: OplockHolder, *, read_handle: bool )
tests/soft/exclusive/test_recovery.py:315
Functiontest_stale_break_keeps_its_marker_when_exchange_back_is_refused
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:171
Functiontest_stale_break_keeps_the_lock_when_a_peer_swaps_its_marker_aside
( # pragma: win32 no cover lock_path: Path, mocker: MockerFixture )
tests/soft/exclusive/test_recovery_takeover.py:71
Functiontest_stale_break_leaves_a_break_name_it_cannot_exchange
( # pragma: win32 no cover lock_path: Path, mocker: MockerFixture, error: int )
tests/soft/exclusive/test_recovery_takeover.py:305
Functiontest_stale_break_leaves_a_marker_taken_since_its_first_look_on_the_path
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker
tests/soft/exclusive/test_recovery_takeover.py:183
Functiontest_stale_break_lets_acquire_retry_after_the_marker_vanishes_before_the_pin
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture, lock_type: type[SoftFileLock], record:
tests/filesystem/test_exchange_recovery.py:102
Functiontest_stale_break_opens_a_ring_of_breakers_holding_each_others_markers
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:122
Functiontest_stale_break_racing_a_successor_admits_no_third_holder
( lock_path: Path, mocker: MockerFixture, on_break_recheck: Callable[[Path, Callable[[], None]], None] )
tests/soft/exclusive/test_recovery_takeover.py:51
Functiontest_stale_break_reclaims_a_marker_it_cannot_pin
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture, lock_type: type[SoftFileLock], record:
tests/filesystem/test_exchange_recovery.py:81
Functiontest_stale_break_reclaims_a_record_a_dead_recoverer_claimed
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery_claim.py:129
Functiontest_stale_break_releases_the_registration_when_recovery_is_interrupted
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, interrupted: str,
tests/soft/exclusive/test_recovery_claim.py:372
Functiontest_stale_break_removes_a_stale_marker_a_dead_breaker_left_under_its_break_name
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery_takeover.py:213
Functiontest_stale_break_restores_a_live_holder_after_interrupted_exchange
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:57
Functiontest_stale_break_restores_a_live_marker_a_dead_breaker_left_under_its_break_name
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery_takeover.py:96
Functiontest_stale_break_restores_a_marker_a_dead_breaker_left_beside_its_placeholder
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, breaker_pid: int )
tests/soft/exclusive/test_recovery_takeover.py:261
Functiontest_stale_break_restores_a_marker_of_an_unknown_contract_under_its_break_name
( # pragma: win32 no cover tmp_path: Path, lock_type: type[MarkerSoftFileLock] )
tests/soft/exclusive/test_recovery_takeover.py:242
Functiontest_stale_break_restores_a_marker_of_another_host_with_the_breakers_pid
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery_takeover.py:168
Functiontest_stale_break_restores_a_stranded_empty_marker
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery.py:183
Functiontest_stale_break_restores_a_strict_sentinel_a_dead_breaker_left_under_its_break_name
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery_takeover.py:228
Functiontest_stale_break_restores_under_an_exclusive_claim
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:31
Functiontest_stale_break_retries_a_claim_whose_return_failed
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:182
Functiontest_stale_break_skips_a_marker_swapped_in_after_the_pin
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture, lock_type: type[SoftFileLock], record:
tests/filesystem/test_exchange_recovery.py:53
Functiontest_stale_break_skips_a_record_a_live_recoverer_claimed
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/soft/exclusive/test_recovery_claim.py:143
Functiontest_stale_break_spares_a_successor_on_the_freed_inode_number
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture, reuse_inode: Callable[[Path, os
tests/filesystem/test_exchange_recovery.py:25
Functiontest_stale_break_spares_a_successor_on_the_freed_inode_number_across_the_exchange
( # pragma: win32 no cover stale_lock: Path, mocker: MockerFixture, reuse_inode: Callable[[Path,
tests/filesystem/test_exchange_recovery.py:200
Functiontest_stale_break_stops_when_the_claim_is_already_registered
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:329
Functiontest_stale_break_takes_the_lock_over_in_one_poll
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str )
tests/filesystem/test_exchange_recovery.py:188
Functiontest_stale_break_undoes_an_exchange_that_took_a_peers_marker
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_exchange.py:29
Functiontest_stale_break_waits_for_a_claim_another_thread_is_working
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:246
Functiontest_stale_break_waits_when_a_break_name_cannot_be_read
( # pragma: win32 no cover lock_path: Path, mocker: MockerFixture )
tests/soft/exclusive/test_recovery_takeover.py:329
Functiontest_stale_break_waits_when_a_peer_claimed_the_record_first
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:85
Functiontest_stale_break_waits_when_the_record_cannot_be_claimed
( # pragma: win32 no cover tmp_path: Path, lock_type: type[SoftFileLock], record: str, mocker: MockerFixt
tests/soft/exclusive/test_recovery_claim.py:113
Functiontest_stale_claim_directory_withdraws_before_retry
( initialized_lock_path: Path, mocker: MockerFixture, published: int )
tests/soft/strict/test_scan.py:38
Functiontest_stale_detection_errors_suppressed
(lock_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_recovery_filesystem.py:89
Functiontest_stale_inode_retry_on_unlinked_lock
(tmp_path: Path, mocker: MockerFixture)
tests/native/test_unix.py:34
Functiontest_stale_lock_broken_when_process_dead
(lock_path: Path, mocker: MockerFixture, content: str)
tests/soft/exclusive/test_recovery.py:48
Functiontest_stale_lock_not_broken_different_hostname
(lock_path: Path)
tests/soft/exclusive/test_recovery.py:60
Functiontest_stale_lock_not_broken_on_kill_error
(lock_path: Path, mocker: MockerFixture, errno: int)
tests/soft/exclusive/test_recovery.py:162
Functiontest_stale_lock_not_broken_when_process_alive
(lock_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_recovery.py:54
Functiontest_stale_lock_rename_race
(lock_path: Path, mocker: MockerFixture)
tests/soft/exclusive/test_recovery_takeover.py:44
← previousnext →3,001–3,100 of 3,548, ranked by callers