MCPcopy Create free account

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

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

Functiontest_prepare_refuses_writable_tree_under_sticky_parent
( lock_path_in_shared_tmp: Path, level: str, mode: int )
tests/soft/read_write/test_storage.py:320
Functiontest_preserve_lock_file_async_release_keeps_pathname
(tmp_path: Path)
tests/async_lock/test_backend_calls.py:134
Functiontest_preserve_lock_file_async_soft_rejects
(tmp_path: Path)
tests/async_lock/test_backend_calls.py:127
Functiontest_preserve_lock_file_defaults_off
(tmp_path: Path)
tests/native/test_file_identity.py:116
Functiontest_preserve_lock_file_fails_closed_on_enosys
(tmp_path: Path, mocker: MockerFixture)
tests/native/test_file_identity.py:150
Functiontest_preserve_lock_file_property_reflects_argument
(tmp_path: Path)
tests/native/test_file_identity.py:120
Functiontest_preserve_lock_file_rejected_by_soft_lock
(tmp_path: Path)
tests/native/test_file_identity.py:124
Functiontest_preserve_lock_file_unix_keeps_pathname
(tmp_path: Path)
tests/native/test_file_identity.py:140
Functiontest_preserve_lock_file_windows_default_removes_file
(tmp_path: Path)
tests/native/test_file_identity.py:160
Functiontest_preserve_lock_file_windows_keeps_file
(tmp_path: Path)
tests/native/test_file_identity.py:169
Functiontest_preserve_lock_file_windows_kept_after_forced_release
(tmp_path: Path)
tests/native/test_file_identity.py:193
Functiontest_preserve_lock_file_windows_reacquires_same_identity
(tmp_path: Path)
tests/native/test_file_identity.py:178
Functiontest_private_directory_connects_by_the_database_name
( # pragma: needs posix-hard-link tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_connection_side_files.py:176
Functiontest_private_directory_under_a_shared_parent_refuses_a_replaced_directory
( # pragma: needs posix-hard-link shared_database: Path, mocker: MockerFixture, tmp_path: Path, replaceme
tests/sqlite/test_connection_side_files.py:194
Functiontest_private_link_closes_a_mode_an_inherited_acl_opened
( shared_database: Path, loosened_directories: list[Path] )
tests/sqlite/test_links.py:244
Functiontest_private_link_connects_through_the_validated_inode
( shared_database: Path, mocker: MockerFixture, mode: Literal["read", "write"] )
tests/sqlite/test_links.py:40
Functiontest_private_link_failure_preserves_a_peer_lock
( shared_database: Path, mocker: MockerFixture, boundary: str )
tests/sqlite/test_links.py:79
Functiontest_private_link_in_a_directory_it_cannot_list
(shared_database: Path)
tests/sqlite/test_links.py:366
Functiontest_private_link_is_removed_after_failure
( shared_database: Path, mocker: MockerFixture, boundary: str, created_directories: list[Path] )
tests/sqlite/test_links.py:159
Functiontest_private_link_is_removed_after_release
(shared_database: Path, created_directories: list[Path])
tests/sqlite/test_links.py:131
Functiontest_private_link_opens_nothing_through_a_swapped_link_directory
( shared_database: Path, tmp_path: Path, mocker: MockerFixture, created_directories: list[Path] )
tests/sqlite/test_links.py:269
Functiontest_private_link_opens_when_its_directory_needs_uri_quoting
(shared_database: Path)
tests/sqlite/test_links.py:61
Functiontest_private_link_preserves_async_contention
(shared_database: Path, mode: Literal["read", "write"])
tests/sqlite/test_links.py:124
Functiontest_private_link_preserves_contention
(shared_database: Path, mode: Literal["read", "write"])
tests/sqlite/test_links.py:70
Functiontest_private_link_refuses_a_directory_chmod_cannot_close
( shared_database: Path, loosened_directories: list[Path], mocker: MockerFixture, fchmod_error: Permission
tests/sqlite/test_links.py:259
Functiontest_private_link_refuses_a_directory_swapped_in_before_it_opens
( shared_database: Path, tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_links.py:199
Functiontest_private_link_refuses_a_watched_swapped_directory
( shared_database: Path, tmp_path: Path, mocker: MockerFixture )
tests/sqlite/test_links.py:303
Functiontest_private_link_rejects_replaced_database
( shared_database: Path, tmp_path: Path, mocker: MockerFixture, make_replacement: Callable[[Pa
tests/sqlite/test_links.py:175
Functiontest_private_link_release_keeps_a_directory_renamed_onto_the_link
(shared_database: Path, tmp_path: Path)
tests/sqlite/test_links.py:353
Functiontest_private_link_release_survives_a_removed_alias
(shared_database: Path, created_directories: list[Path])
tests/sqlite/test_links.py:145
Functiontest_private_link_removed_before_sqlite_open_cannot_grant_a_second_writer
( shared_database: Path, mocker: MockerFixture, created_directories: list[Path] )
tests/sqlite/test_links.py:90
Functiontest_private_link_repairs_inherited_permissions_on_the_nested_directory
( shared_database: Path, mocker: MockerFixture )
tests/sqlite/test_links.py:223
Functiontest_private_link_sits_beside_the_database
(shared_database: Path, created_directories: list[Path])
tests/sqlite/test_links.py:139
Functiontest_private_link_sweep_bounds_a_crowded_directory
(shared_database: Path, mocker: MockerFixture)
tests/sqlite/test_links_sweep.py:50
Functiontest_private_link_sweep_closes_abandoned_scans
(shared_database: Path, mocker: MockerFixture)
tests/sqlite/test_links_sweep.py:100
Functiontest_private_link_sweep_forgets_old_databases
(shared_database: Path, mocker: MockerFixture)
tests/sqlite/test_links_sweep.py:127
Functiontest_private_link_sweep_keeps_a_directory_it_did_not_name
(shared_database: Path)
tests/sqlite/test_links_sweep.py:367
Functiontest_private_link_sweep_keeps_a_directory_named_like_a_dead_holder
(shared_database: Path, entry: str)
tests/sqlite/test_links_sweep.py:255
Functiontest_private_link_sweep_keeps_a_holder_when_pid_namespace_is_unknown
( # pragma: linux cover shared_database: Path, mocker: MockerFixture, procfs: str, *, legacy: bool )
tests/sqlite/test_links_sweep.py:228
Functiontest_private_link_sweep_keeps_a_link_under_an_unrelated_directory
(shared_database: Path)
tests/sqlite/test_links_sweep.py:333
Functiontest_private_link_sweep_keeps_empty_directories_renamed_to_a_dead_holder
(shared_database: Path)
tests/sqlite/test_links_sweep.py:283
Functiontest_private_link_sweep_keeps_the_link_of_a_live_holder
(shared_database: Path)
tests/sqlite/test_links_sweep.py:360
Functiontest_private_link_sweep_never_parses_a_directory_of_another_account
( shared_database: Path, mocker: MockerFixture )
tests/sqlite/test_links_sweep.py:298
Functiontest_private_link_sweep_releases_the_inherited_cursor
(tmp_path: Path)
tests/sqlite/test_fork.py:27
Functiontest_private_link_sweep_removes_only_empty_directories_left_without_a_link
( shared_database: Path, subdirectories: tuple[str, ...], retained: bool )
tests/sqlite/test_links_sweep.py:269
Functiontest_private_link_sweep_restarts_in_a_replaced_parent
(shared_database: Path, mocker: MockerFixture)
tests/sqlite/test_links_sweep.py:142
Functiontest_private_link_sweep_resumes_after_its_cooldown
(shared_database: Path, mocker: MockerFixture, link: str)
tests/sqlite/test_links_sweep.py:73
Functiontest_private_link_sweep_retries_an_invalid_iterator
(shared_database: Path, mocker: MockerFixture)
tests/sqlite/test_links_sweep.py:160
Functiontest_private_link_sweep_skips_a_busy_iterator
(shared_database: Path, mocker: MockerFixture)
tests/sqlite/test_links_sweep.py:192
Functiontest_private_link_sweep_skips_a_symlink_to_a_live_holder
( shared_database: Path, posix_link_holder: subprocess.Popen[str], depth: int )
tests/sqlite/test_links_sweep.py:344
Functiontest_private_link_sweep_skips_a_symlink_under_a_dead_holder_name
(shared_database: Path)
tests/sqlite/test_links_sweep.py:322
Functiontest_private_link_sweep_survives_a_malformed_link_name
( shared_database: Path, mocker: MockerFixture, pid_text: str, start_text: str )
tests/sqlite/test_links_sweep.py:385
Functiontest_private_link_sweeps_the_link_of_a_killed_holder
( shared_database: Path, posix_link_holder: subprocess.Popen[str] )
tests/sqlite/test_links_sweep.py:38
Functiontest_private_probe_propagates_handler_timeout
( # pragma: needs fcntl tmp_path: Path, mocker: MockerFixture, operation: str )
tests/native/test_unix_probe.py:271
Functiontest_probe_stops_following_continuous_growth
( lock_file: str, files: OsFiles, root: str, mocker: MockerFixture )
tests/soft/read_write/test_generations.py:154
Functiontest_process_alive_false_for_dead
()
tests/identity/test_process.py:46
Functiontest_process_alive_false_for_exited_child_still_referenced
()
tests/identity/test_process.py:50
Functiontest_process_alive_reads_permission_denied_as_alive
(mocker: MockerFixture)
tests/identity/test_process.py:58
Functiontest_process_alive_reraises_unexpected_errno
(mocker: MockerFixture)
tests/identity/test_process.py:68
Functiontest_process_alive_true_for_self
()
tests/identity/test_process.py:42
Functiontest_process_exit_does_not_join_a_pending_release
(lock_path: Path)
tests/soft/strict/test_release_worker.py:152
Functiontest_process_start_token_after_main_thread_exits
( offsets: str | OSError, readable: bool, mocker: MockerFixture )
tests/identity/test_process.py:135
Functiontest_process_start_token_is_int_for_self
()
tests/identity/test_process.py:75
Functiontest_process_start_token_none_for_dead
()
tests/identity/test_process.py:79
Functiontest_process_start_token_read_only_from_a_proc_of_this_pid_namespace
( self_link: str | OSError, status: str | OSError, readable: bool, mocker: MockerFixture )
tests/identity/test_process.py:189
Functiontest_process_start_token_read_only_without_a_boottime_offset
( namespace: int | OSError, offsets: str | OSError, for_children: int | None, readable: bool, mocker: Mock
tests/identity/test_process.py:119
Functiontest_process_start_token_rejects_malformed_stat
(stat: bytes, mocker: MockerFixture)
tests/identity/test_process.py:92
Functiontest_properties
(lock_file: str)
tests/sqlite/test_async_executor.py:67
Functiontest_protocol_directory_of_another_account_is_refused
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, )
tests/soft/read_write/test_lock_storage.py:146
Functiontest_protocol_directory_with_an_unmapped_owner_is_refused
( # pragma: needs foreign-sticky-tmp lock_path_in_shared_tmp: Path, )
tests/soft/read_write/test_lock_storage.py:162
Functiontest_protocol_error_serialization_preserves_claim
( clone: Callable[[Timeout | SoftFileLockProtocolError], Timeout | SoftFileLockProtocolError], )
tests/core/test_errors.py:112
Functiontest_protocol_path_as_regular_file_is_refused
(lock_file: str, lock: SoftReadWriteLock)
tests/soft/read_write/test_lock_storage.py:199
Functiontest_protocol_tree_stays_in_place_while_a_record_is_written
( # pragma: win32 cover lock_file: str, tmp_path: Path, lock: SoftReadWriteLock, mocker: MockerFixture )
tests/soft/read_write/test_lock_storage.py:108
Functiontest_protocol_tree_swapped_after_an_acquire_is_refused
( # pragma: needs link-dir-fd lock_file: str, tmp_path: Path, lock: SoftReadWriteLock, swapped: str )
tests/soft/read_write/test_lock_storage.py:52
Functiontest_protocol_tree_with_a_junction_is_refused_after_first_acquire
( # pragma: win32 cover lock_file: str, tmp_path: Path, create_junction: Callable[[Path, Path], None], sw
tests/soft/read_write/test_lock_storage.py:92
Functiontest_protocol_tree_with_a_junction_is_refused_before_first_acquire
( # pragma: win32 cover lock_file: str, tmp_path: Path, lock: SoftReadWriteLock, create_junction: Callabl
tests/soft/read_write/test_lock_storage.py:71
Functiontest_public_attributes
(lock_file: str)
tests/soft/read_write/test_lock.py:118
Functiontest_public_global_pickles_by_reference
(name: str)
tests/test_pickle_compatibility.py:15
Functiontest_public_literal_aliases_list_their_values
()
tests/test_public_api.py:50
Functiontest_publication_rollback_close_failure_unlinks_only_its_marker
( lock_path: Path, mocker: MockerFixture, replace: Callable[[MockerFixture], None], *, replaced: bool )
tests/soft/exclusive/test_publication_cleanup.py:278
Functiontest_publication_without_identity_leaves_the_marker
( lock_path: Path, mocker: MockerFixture, soft_open_spy: MockType )
tests/soft/exclusive/test_publication_rollback.py:180
Functiontest_queued_acquire_honors_own_admission_policy
( tmp_path: Path, admission: Callable[[AsyncFileLock], Awaitable[None]] )
tests/async_lock/test_admission.py:66
Functiontest_queued_acquire_proceeds_after_prior_waiter_cancels
(tmp_path: Path)
tests/async_lock/test_admission.py:159
Functiontest_queued_release_cancellation_preserves_backend_error
(tmp_path: Path)
tests/async_lock/test_release_cancellation.py:91
Functiontest_queued_release_completes_despite_cancellation
(tmp_path: Path)
tests/async_lock/test_release_cancellation.py:52
Functiontest_queued_release_observes_the_same_withdrawal_error
( lock_path: Path, mocker: MockerFixture, finish: Callable[[StrictSoftFileLock], None] )
tests/soft/strict/test_release_observers.py:58
Functiontest_queued_writer_precedes_a_reacquiring_writer
(lock_file: str)
tests/sqlite/test_async_contention.py:151
Functiontest_read_lock_avoids_sqlite_schema_alias
(lock_file: str, mocker: MockerFixture)
tests/sqlite/test_transactions_connection.py:104
Functiontest_read_lock_context_manager_overrides_defaults
(lock_file: str)
tests/sqlite/test_transactions.py:149
Functiontest_read_lock_custom_timeout
(lock_file: str)
tests/sqlite/test_transactions.py:137
Functiontest_read_lock_release_from_a_thread_without_a_read_hold_prohibited
( sync_locks: tuple[ReadWriteLock, ReadWriteLock], other_thread: ThreadPoolExecutor )
tests/sqlite/test_transactions_threads.py:36
Functiontest_read_lock_release_past_a_threads_own_depth_prohibited
( sync_locks: tuple[ReadWriteLock, ReadWriteLock], other_thread: ThreadPoolExecutor )
tests/sqlite/test_transactions_threads.py:47
Functiontest_read_lock_shared_by_threads_ends_with_the_last_reader
( sync_locks: tuple[ReadWriteLock, ReadWriteLock], other_thread: ThreadPoolExecutor )
tests/sqlite/test_transactions_threads.py:61
Functiontest_read_locks_are_shared
(lock_file: str)
tests/sqlite/test_lock_contention.py:31
Functiontest_read_non_regular_file_is_empty
(tmp_path: Path)
tests/soft/read_write/test_storage.py:58
Functiontest_read_refused_on_posix_raises
(tmp_path: Path, mocker: MockerFixture)
tests/soft/read_write/test_storage.py:272
Functiontest_read_refused_on_windows_is_missing_after_the_grace
( tmp_path: Path, mocker: MockerFixture )
tests/soft/read_write/test_storage.py:280
Functiontest_read_retried_after_its_select_waited_starts_a_fresh_transaction
( lock_file: str, mocker: MockerFixture )
tests/sqlite/test_async_release_cancellation.py:184
Functiontest_read_write_lock_accepts_small_application_schema
(tmp_path: Path)
tests/sqlite/test_connection_schema.py:148
Functiontest_read_write_lock_after_an_interrupted_release_locks_again
( lock_file: str, mocker: MockerFixture, mode: Literal["read", "write"], owner: type, name
tests/sqlite/test_transactions_release.py:130
← previousnext →2,701–2,800 of 3,548, ranked by callers