MCPcopy Create free account

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

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

Functiontest_strict_soft_narrows_claim_directory_with_live_claim
(tmp_path: Path)
tests/soft/strict/test_directories_ownership.py:362
Functiontest_strict_soft_narrows_claim_directory_with_private_records
( # pragma: win32 no cover tmp_path: Path, entry: str )
tests/soft/strict/test_directories_ownership.py:349
Functiontest_strict_soft_non_regular_sentinel_private_node_fails_closed
( tmp_path: Path, make_node: Callable[[Path], object], is_node: Callable[[Path], bool] )
tests/soft/strict/test_scan_reclaim.py:66
Functiontest_strict_soft_opened_record_non_regular_fails_closed
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_rollback.py:278
Functiontest_strict_soft_orphan_claim_blocks_without_reclamation
(tmp_path: Path, state: StrictSoftFileClaimState)
tests/soft/strict/test_lock.py:244
Functiontest_strict_soft_owner_releases_while_a_contender_reads_its_claim
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_scan.py:195
Functiontest_strict_soft_preserves_sentinel_when_requested
(tmp_path: Path)
tests/soft/strict/test_lock.py:164
Functiontest_strict_soft_private_close_failure_preserves_publication
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None] )
tests/soft/strict/test_publication_close.py:38
Functiontest_strict_soft_private_inspection_failure_unlinks_vanished_record
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None] )
tests/soft/strict/test_publication_rollback.py:95
Functiontest_strict_soft_private_partial_record_is_not_a_claim
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication.py:177
Functiontest_strict_soft_private_record_oplock_keeps_deadline
( tmp_path: Path, hold_oplock: OplockHolder )
tests/soft/strict/test_windows_oplock.py:85
Functiontest_strict_soft_private_record_reclaimed_after_close_is_tolerated
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None] )
tests/soft/strict/test_publication_rollback.py:137
Functiontest_strict_soft_private_record_swap_does_not_link_target
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_close.py:124
Functiontest_strict_soft_protocol_error_pickles
()
tests/soft/strict/test_claims.py:285
Functiontest_strict_soft_publication_and_close_failures_preserve_both_errors
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_lock.py:381
Functiontest_strict_soft_publication_directory_close_failure
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None], published: str )
tests/soft/strict/test_publication_close.py:196
Functiontest_strict_soft_publication_record_reclaimed_aborts
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None] )
tests/soft/strict/test_publication_rollback.py:62
Functiontest_strict_soft_publication_record_replaced_aborts
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None] )
tests/soft/strict/test_publication_rollback.py:34
Functiontest_strict_soft_reaper_ages_records_by_filesystem_clock
( tmp_path: Path, mocker: MockerFixture, stage_record: Callable[[Path], Path] )
tests/soft/strict/test_scan_reclaim.py:106
Functiontest_strict_soft_reaper_does_not_retry_sharing_error
( abandoned_record: tuple[Path, Path], mocker: MockerFixture )
tests/soft/strict/test_scan_reclaim.py:79
Functiontest_strict_soft_reaper_leaves_non_regular_private_node
( tmp_path: Path, make_node: Callable[[Path], object], is_node: Callable[[Path], bool] )
tests/soft/strict/test_scan_reclaim.py:52
Functiontest_strict_soft_reaper_removes_private_after_publication
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_races.py:183
Functiontest_strict_soft_reaper_removes_private_before_publication
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_races.py:139
Functiontest_strict_soft_reaper_replacement_only_aborts_publisher
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_races.py:216
Functiontest_strict_soft_reaper_without_filesystem_clock_keeps_records
( abandoned_record: tuple[Path, Path], mocker: MockerFixture )
tests/soft/strict/test_scan_reclaim.py:120
Functiontest_strict_soft_reclaims_crash_after_private_publication
(tmp_path: Path)
tests/soft/strict/test_recovery.py:134
Functiontest_strict_soft_reclaims_crash_before_private_publication
(tmp_path: Path)
tests/soft/strict/test_recovery.py:72
Functiontest_strict_soft_record_finalization_close_and_unlink_failures_group
( tmp_path: Path, mocker: MockerFixture, initialize: Callable[[Path], None] )
tests/soft/strict/test_publication_rollback.py:178
Functiontest_strict_soft_record_read_and_close_failure_group
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_scan.py:264
Functiontest_strict_soft_recovers_every_claim_for_crashed_token
(tmp_path: Path)
tests/soft/strict/test_recovery.py:28
Functiontest_strict_soft_refuses_a_junction_for_the_claim_directory
( tmp_path: Path, create_junction: Callable[[Path, Path], None], operation: Callable[[StrictSoftFi
tests/soft/strict/test_windows_directories.py:31
Functiontest_strict_soft_refuses_coordination_directory_of_another_account
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, )
tests/soft/strict/test_directories_ownership.py:141
Functiontest_strict_soft_refuses_coordination_directory_with_an_unmapped_owner
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, )
tests/soft/strict/test_directories_ownership.py:374
Functiontest_strict_soft_refuses_file_at_claim_name_before_coordination_chmod
( # pragma: win32 no cover tmp_path: Path, )
tests/soft/strict/test_directories_ownership.py:195
Functiontest_strict_soft_refuses_ownership_when_overflow_uid_is_unknown
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, mocker: MockerFixture, error: OSError
tests/soft/strict/test_directories_ownership.py:390
Functiontest_strict_soft_refuses_sentinel_of_another_account
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, mocker: MockerFixture, )
tests/soft/strict/test_directories_ownership.py:152
Functiontest_strict_soft_refuses_uninspectable_directory_mode
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_directories_ownership.py:246
Functiontest_strict_soft_refuses_unlistable_claim_directory_before_chmod
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_directories_ownership.py:310
Functiontest_strict_soft_refuses_unlistable_coordination_directory
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_directories_ownership.py:230
Functiontest_strict_soft_refuses_unopenable_nested_claim_directory
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_directories_ownership.py:265
Functiontest_strict_soft_refuses_unrelated_claim_before_coordination_chmod
( # pragma: win32 no cover tmp_path: Path, )
tests/soft/strict/test_directories_ownership.py:212
Functiontest_strict_soft_refuses_unrelated_directory_at_coordination_name
(tmp_path: Path)
tests/soft/strict/test_directories_ownership.py:179
Functiontest_strict_soft_refuses_unrelated_entry_in_claim_directory
( # pragma: win32 no cover tmp_path: Path, entry: str, mode: int )
tests/soft/strict/test_directories_ownership.py:286
Functiontest_strict_soft_rejects_mutable_descriptor_hook
(tmp_path: Path)
tests/soft/strict/test_lock.py:159
Functiontest_strict_soft_rejects_non_directory_coordination_path
(tmp_path: Path)
tests/soft/strict/test_lock.py:266
Functiontest_strict_soft_rejects_noncanonical_owner_record
(tmp_path: Path, pid: str, hostname_hex: str)
tests/soft/strict/test_claims.py:84
Functiontest_strict_soft_rejects_readers_that_would_block_release
( initialized_lock_path: Path, target: Callable[[Path], Path], share: int, flags: int )
tests/soft/strict/test_windows.py:129
Functiontest_strict_soft_relative_release_uses_acquisition_directory
( working_directories: tuple[Path, Path], monkeypatch: pytest.MonkeyPatch, )
tests/soft/strict/test_directories.py:25
Functiontest_strict_soft_release_accepts_a_claim_already_removed
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_windows.py:246
Functiontest_strict_soft_release_allows_reacquire
(tmp_path: Path)
tests/soft/strict/test_lock.py:427
Functiontest_strict_soft_release_claim_unlink_failures_group
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_withdrawal_pending.py:38
Functiontest_strict_soft_release_commits_before_directory_close_error
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_withdrawal_errors.py:53
Functiontest_strict_soft_release_error_keeps_remaining_claim
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_withdrawal_errors.py:27
Functiontest_strict_soft_release_keeps_claims_while_coordination_directory_is_a_symlink
( initialized_lock_path: Path, tmp_path: Path )
tests/soft/strict/test_directories_ownership.py:87
Functiontest_strict_soft_release_preserves_unlink_and_directory_close_errors
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_withdrawal_errors.py:68
Functiontest_strict_soft_release_sentinel_close_failure
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_close.py:222
Functiontest_strict_soft_release_uses_original_symlink_parent
(tmp_path: Path)
tests/soft/strict/test_directories.py:134
Functiontest_strict_soft_release_waits_for_windows_io
( initialized_lock_path: Path, mocker: MockerFixture, prepare: Callable[[MockerFixture], None], method: st
tests/soft/strict/test_windows.py:62
Functiontest_strict_soft_release_with_a_shared_reader_removes_claims
( initialized_lock_path: Path, mocker: MockerFixture, prepare: Callable[[MockerFixture], None] )
tests/soft/strict/test_windows.py:33
Functiontest_strict_soft_rides_out_a_transient_non_sentinel
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_sentinel.py:360
Functiontest_strict_soft_scan_tolerates_disappearing_private_record
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_windows.py:220
Functiontest_strict_soft_sentinel_inspection_and_close_failure_group
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication_close.py:150
Functiontest_strict_soft_sentinel_inspection_failure_closes_descriptor
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_lock.py:354
Functiontest_strict_soft_sentinel_oplock_keeps_deadline
( tmp_path: Path, hold_oplock: Callable[[Path], Callable[[], None]] )
tests/soft/strict/test_windows_oplock.py:30
Functiontest_strict_soft_sentinel_publication_race_acquires_over_strict_winner
( tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_sentinel.py:44
Functiontest_strict_soft_sentinel_publication_race_times_out_over_legacy_winner
( tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_sentinel.py:85
Functiontest_strict_soft_sentinel_race_with_non_regular_winner_blocks
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_sentinel.py:371
Functiontest_strict_soft_sentinel_remains_after_private_cleanup_failure
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_sentinel.py:390
Functiontest_strict_soft_sentinel_removed_after_publication_backs_off
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_sentinel.py:314
Functiontest_strict_soft_sentinel_scan_reclaims_at_most_one_batch
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_scan_limit.py:217
Functiontest_strict_soft_sentinel_scan_skips_unrelated_entries
( # pragma: win32 no cover tmp_path: Path, mocker: MockerFixture )
tests/soft/strict/test_scan_limit.py:230
Functiontest_strict_soft_sentinel_uses_unique_private_names
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_sentinel.py:97
Functiontest_strict_soft_sentinel_vanishing_before_open_is_republished
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_sentinel.py:339
Functiontest_strict_soft_setter_rejects_lifetime
( tmp_path: Path, lock_type: type[StrictSoftFileLock | AsyncStrictSoftFileLock], )
tests/soft/strict/test_lock.py:195
Functiontest_strict_soft_shared_instance_transition_respects_admission
( tmp_path: Path, mocker: MockerFixture, admission: Literal["timeout", "blocking", "cancel"], )
tests/soft/strict/test_publication.py:261
Functiontest_strict_soft_shared_instance_waits_for_failed_doorway
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_publication.py:211
Functiontest_strict_soft_stale_cached_claim_is_skipped
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_claims.py:169
Functiontest_strict_soft_stale_claim_read_is_skipped
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_claims.py:159
Functiontest_strict_soft_stale_claim_read_revalidates_to_gone
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_claims.py:255
Functiontest_strict_soft_structurally_invalid_record_fails_closed
(tmp_path: Path, content: bytes)
tests/soft/strict/test_claims.py:49
Functiontest_strict_soft_symlink_claim_fails_closed
(tmp_path: Path)
tests/soft/strict/test_lock.py:290
Functiontest_strict_soft_symlinked_claims_directory_is_neither_listed_nor_broken
(tmp_path: Path)
tests/soft/strict/test_directories_ownership.py:110
Functiontest_strict_soft_symlinked_protocol_directory_is_neither_listed_nor_broken
(tmp_path: Path)
tests/soft/strict/test_directories_ownership.py:126
Functiontest_strict_soft_unanswered_sentinel_break_is_contention
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_sentinel.py:216
Functiontest_strict_soft_unparsable_lock_path_blocks
(tmp_path: Path, content: bytes)
tests/soft/strict/test_sentinel.py:151
Functiontest_strict_soft_unparsable_lock_path_raises_once_unchanged
( tmp_path: Path, mocker: MockerFixture, content: bytes )
tests/soft/strict/test_sentinel.py:165
Functiontest_strict_soft_unreadable_claim_fails_closed
(tmp_path: Path)
tests/soft/strict/test_lock.py:275
Functiontest_strict_soft_unreadable_lock_path_blocks
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_sentinel.py:178
Functiontest_strict_soft_waiter_keeps_acquisition_directory
( working_directories: tuple[Path, Path], )
tests/soft/strict/test_directories.py:62
Functiontest_strict_soft_waits_for_legacy_holder
(tmp_path: Path)
tests/soft/strict/test_lock.py:125
Functiontest_strict_soft_windows_claim_collision_keeps_peer
( initialized_lock_path: Path, mocker: MockerFixture, state: str, error_type: type[Exception] )
tests/soft/strict/test_windows.py:152
Functiontest_strict_soft_windows_collision_reports_pin_close_error
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_windows_publication.py:246
Functiontest_strict_soft_windows_coordination_directory_stays_in_place
(initialized_lock_path: Path)
tests/soft/strict/test_windows.py:183
Functiontest_strict_soft_windows_failed_claim_publication_removes_private
(tmp_path: Path)
tests/soft/strict/test_windows.py:192
Functiontest_strict_soft_windows_failed_private_cleanup_reports_both_errors
(tmp_path: Path, mocker: MockerFixture)
tests/soft/strict/test_windows_publication.py:84
Functiontest_strict_soft_windows_interrupted_publication_removes_claim
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_windows_publication.py:192
Functiontest_strict_soft_windows_interrupted_rename_with_a_shared_reader
( initialized_lock_path: Path, mocker: MockerFixture, prepare: Callable[[MockerFixture], None],
tests/soft/strict/test_windows_publication.py:123
Functiontest_strict_soft_windows_legacy_release_reports_errors
( initialized_lock_path: Path, mocker: MockerFixture, failure: str, *, held: bool, claim_count: int )
tests/soft/strict/test_windows.py:103
Functiontest_strict_soft_windows_pin_failure_leaves_no_pending_cleanup
( initialized_lock_path: Path, mocker: MockerFixture )
tests/soft/strict/test_windows_publication.py:64
Functiontest_strict_soft_windows_private_name_collision_preserves_peer
(tmp_path: Path)
tests/soft/strict/test_windows.py:207
← previousnext →3,201–3,300 of 3,548, ranked by callers