MCPcopy Create free account

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

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

Functiondelayed_fstat
(fd: int)
tests/core/test_fork_descriptors.py:66
Functiondelayed_publication
(destination: str, publish: Callable[[], int | None])
tests/soft/strict/test_publication.py:144
Functiondeny
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_withdrawal_pending.py:189
Functiondeny
(handle: int, access: int, share: int, flags: int)
tests/soft/exclusive/test_publication.py:115
Functiondeny_abandoned_record
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_scan_reclaim.py:85
Functiondeny_claims
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_scan.py:127
Functiondeny_clock_probe
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_scan_reclaim.py:126
Functiondeny_delete
(_handle: int, *, published: bool)
tests/soft/strict/test_windows_publication.py:172
Functiondeny_held
( fd: int, path: str, private_name: Callable[[], str] | None = None, *,
tests/soft/strict/test_windows_withdrawal.py:136
Functiondeny_intent_unlink
( directory: Path, name: str, *, claim_fd: int | None = None, cancel_w
tests/soft/strict/test_publication_withdrawal_pending.py:262
Functiondeny_once
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_rollback.py:304
Functiondeny_once
(path: str, *, read_only: bool, owner_only: bool)
tests/filesystem/windows/test_handles.py:45
Functiondeny_only_the_owned_intent_unlink
( directory: Path, name: str, *, claim_fd: int | None = None, cancel_w
tests/soft/strict/test_publication_withdrawal_pending.py:82
Functiondeny_probe
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix_probe.py:307
Functiondeny_slowly_once
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_scan.py:242
Functiondeny_write
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/conftest.py:59
Functiondeny_write_then_chdir
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix_open.py:52
Functiondescriptor_child
()
tests/core/test_fork_descriptors.py:40
Functiondirectories_of_another_account
(mocker: MockerFixture)
tests/conftest.py:247
Functiondirectory_access
(request: pytest.FixtureRequest, mocker: MockerFixture)
tests/soft/read_write/conftest.py:82
Functiondisappear_before_publish
(path: str, *, dir_fd: int | None = None)
tests/native/test_unix_fallback_marker.py:187
Functiondrive_outside_any_task
()
tests/sqlite/test_async_contention.py:206
Functiondrop_the_last_reference
(_: LeaseCompromise)
tests/soft/test_lease_finalization.py:186
Functioneio_on_probe
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_scan_reclaim.py:167
Functionenospc_on_probe
(fd: int, data: bytes)
tests/soft/strict/test_scan_reclaim.py:156
Methodenter
(remaining: float)
src/filelock/_async_lock/_backends.py:137
Functionenter_gate
()
tests/core/test_release_interruption.py:125
Functionenter_peer
(record: logging.LogRecord)
tests/soft/strict/test_release_interruption.py:100
Functionerror
(request: pytest.FixtureRequest)
tests/core/test_errors.py:130
Functioneveryone_writable_database
(tmp_path: Path)
tests/sqlite/conftest.py:44
Functionevicted_and_succeeded_then_write_fails
(fd: int, data: bytes)
tests/soft/exclusive/test_publication_rollback.py:120
Functionexchange_after_the_holder_won
(aside: str, path: str)
tests/soft/exclusive/test_recovery_exchange.py:109
Functionexchange_then_hang
(source: str, target: str)
tests/process_helpers.py:42
Functionexchange_then_interrupt
(aside: str, path: str)
tests/soft/exclusive/test_recovery_exchange.py:63
Functionexchange_then_interrupt
(*_names: str)
tests/soft/exclusive/test_recovery_claim.py:389
Functionexchange_then_interrupt
(source: str, target: str)
tests/native/test_unix_probe.py:225
Functionexchange_when_released
(first: str, second: str)
tests/soft/exclusive/test_recovery_claim.py:254
Functionexchange_with_rival
(first: str, second: str)
tests/soft/exclusive/test_recovery_claim.py:53
Functionexecute
(real_connection: sqlite3.Connection, statement: str)
tests/sqlite/test_async_release_cancellation.py:190
Functionexecute_with_delay
(connection: ForkSafeConnection, statement: str)
tests/sqlite/test_transactions_connection.py:46
Methodexecutor
Supplied executor or the owned worker.
src/filelock/_async_lock/_backends.py:116
Methodexecutor
The executor.
src/filelock/_async_lock/_release.py:194
Functionextend_between_checks
(path: str)
tests/soft/read_write/test_generations_publication.py:146
Functionfail
(fd: int)
tests/core/test_on_acquired.py:160
Functionfail
(_compromise: LeaseCompromise)
tests/soft/read_write/test_heartbeat.py:118
Functionfail
(fd: int)
tests/async_lock/test_backend_calls.py:192
Functionfail_after_starting_release
(_: int)
tests/core/test_admission.py:126
Functionfail_callback
(_fd: int)
tests/core/test_fork_async_backends.py:195
Functionfail_claim_scan
( directory_ref: tuple[str, int | None], )
tests/soft/strict/test_directories_ownership.py:318
Functionfail_claim_unlink
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_withdrawal_errors.py:77
Functionfail_cleanup_directory_close
(fd: int)
tests/soft/strict/test_publication_withdrawal_errors.py:149
Functionfail_close
()
tests/soft/read_write/test_async_close.py:190
Functionfail_close
(fd: int)
tests/soft/strict/test_scan.py:272
Functionfail_close
(fd: int, *, default_suppresses: bool)
tests/soft/strict/test_release_worker.py:126
Functionfail_close
(fd: int, *, default_suppresses: bool)
tests/soft/strict/test_release_interruption.py:32
Functionfail_close
()
tests/soft/strict/test_windows_publication.py:252
Functionfail_close
()
tests/sqlite/test_async_close.py:174
Functionfail_directory_close
(fd: int)
tests/soft/strict/test_publication_withdrawal_errors.py:84
Functionfail_directory_close
(fd: int)
tests/soft/strict/test_publication_close.py:85
Functionfail_directory_close
(fd: int)
tests/soft/strict/filesystem_faults.py:39
Functionfail_directory_close_after_held
(fd: int)
tests/soft/strict/test_publication_rollback.py:257
Functionfail_directory_fstat
(fd: int)
tests/soft/strict/test_directories_ownership.py:251
Functionfail_first
(fd: int)
tests/soft/exclusive/test_publication_rollback.py:203
Functionfail_first_private_cleanup
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_sentinel.py:395
Functionfail_first_unlock
(_fd: int, _operation: int)
tests/async_lock/test_release_cancellation.py:307
Functionfail_first_unlock
(fd: int, operation: int)
tests/async_lock/test_executor.py:120
Functionfail_for_the_lock_file
(fd: int, *args: int)
tests/native/test_unix_modes.py:133
Functionfail_held
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_collision.py:53
Functionfail_held_link
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_withdrawal_pending.py:165
Functionfail_held_link
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_rollback.py:243
Functionfail_held_publish
( private_path: Callable[[], str], public_path: str, record: bytes,
tests/soft/strict/test_publication_withdrawal_pending.py:284
Functionfail_held_unlink
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_withdrawal_errors.py:142
Functionfail_link
(_source: PathValue, _destination: PathValue, **_options: int | bool | None)
tests/soft/strict/test_publication_close.py:80
Functionfail_once
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/soft/test_lease_release.py:222
Functionfail_once
(path: Path, *, missing_ok: bool = False)
tests/soft/strict/test_publication_withdrawal_errors.py:34
Functionfail_open_process
(_access: int, _inherit_handle: bool, _pid: int)
tests/soft/exclusive/test_recovery_filesystem.py:112
Functionfail_private_close
(fd: int)
tests/soft/strict/test_lock.py:393
Functionfail_private_close
(fd: int)
tests/soft/strict/test_publication_rollback.py:194
Functionfail_private_close
(fd: int)
tests/soft/strict/test_publication_close.py:55
Functionfail_private_inspection
(fd: int)
tests/soft/strict/test_publication_rollback.py:111
Functionfail_protocol_mkdir
(path: Path, mode: int = 0o777, parents: bool = False, exist_ok: bool = False)
tests/soft/strict/test_directories_ownership.py:38
Functionfail_registration
(fd: int)
tests/core/test_fork_async_backends.py:28
Functionfail_registration
(fd: int)
tests/core/test_fork_backends.py:164
Functionfail_sentinel_close
(fd: int)
tests/soft/strict/test_publication_close.py:169
Functionfail_sentinel_inspection
(fd: int)
tests/soft/strict/test_lock.py:361
Functionfail_sentinel_inspection
(fd: int)
tests/soft/strict/test_publication_close.py:164
Functionfail_worker
(state: FileLockContext, *, deadline: float | None = None)
tests/soft/strict/test_windows_withdrawal.py:209
Functionfailing_open
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/filesystem_faults.py:67
Functionfailing_release
(mocker: MockerFixture)
tests/soft/read_write/conftest.py:32
Functionfake_acquire
(blocking: bool = True, timeout: float = -1)
tests/sqlite/test_transactions.py:346
Methodfallback_to_soft
Whether a :class:`FileLock` falls back to :class:`SoftFileLock` when the filesystem lacks ``flock``. Only :class:`UnixFileLock` acts
src/filelock/_core/_lock.py:265
Functionfiles
(lock_file: str)
tests/soft/read_write/conftest.py:44
Functionfilesystem_now
(directory_ref: tuple[str, int | None], public_name: str)
src/filelock/_soft/_strict/_directories.py:260
Functionfinish_epoch_after_link
(source: str, target: str)
tests/soft/read_write/test_generations_publication.py:175
Functionflaky
(path: str | os.PathLike[str], *args: object, **kwargs: object)
tests/soft/test_lease_heartbeat.py:263
Functionflock_missing
(fd: int, operation: int)
tests/native/test_unix_fallback.py:218
Functionflushes
(mocker: MockerFixture)
tests/soft/read_write/conftest.py:26
Methodforce_break
Remove the marker. A live holder can continue working after a forced break.
src/filelock/_soft/_exclusive/_marker.py:47
Functionfork_from_hook
(_fd: int)
tests/core/test_fork_ownership.py:194
Functionfstat
(fd: int)
tests/soft/test_lease_heartbeat_error.py:36
← previousnext →1,301–1,400 of 3,548, ranked by callers