MCPcopy Create free account

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

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

Methodtimeout
The default timeout.
src/filelock/_async_lock/_backends.py:121
Functiontimeout_locks
( tmp_path: Path, lock_type: type[ReadWriteLock | SoftReadWriteLock] )
tests/sqlite/test_transactions_settings.py:206
Functiontmp_file_ro
(tmp_path: Path)
tests/core/test_lock.py:99
Functiontmp_path_ro
(tmp_path: Path)
tests/core/test_lock.py:75
Methodtoken
The current claim token, or ``None`` while the lease is released.
src/filelock/_soft/_lease.py:118
Functiontouch
(path: str, *, fd: int)
tests/soft/test_lease.py:152
Functiontouch_and_count
(name: str, *, fd: int)
tests/soft/test_lease_release.py:249
Functiontrack_handles
(path: Path)
tests/sqlite/test_links_sweep.py:105
Functiontry_illegal_transition
(lock_file: str, hold_mode: Literal["read", "write"], result: Synchronized[int])
tests/sqlite/test_lock.py:100
Functiontry_reenter
()
tests/sqlite/test_transactions.py:177
Functiontry_to_move_it_aside
(path: int | str)
tests/soft/strict/test_windows_directories.py:94
Functiontry_to_move_the_tree_aside
(fd: int, data: bytes)
tests/soft/read_write/test_lock_storage.py:114
Functionuid_shared_with_unmapped_accounts
(mocker: MockerFixture)
tests/conftest.py:254
Functionunavailable_owner_check
(request: pytest.FixtureRequest, mocker: MockerFixture)
tests/filesystem/test_ownership.py:190
Functionunchanged_past_grace
(mocker: MockerFixture)
tests/soft/exclusive/conftest.py:34
Methodunlink
(self, path: str, *, witness: str | None = None)
src/filelock/_soft/_read_write/_storage.py:81
Functionunlink_after_resume
(path: str)
tests/soft/read_write/test_participant.py:171
Functionunlink_after_the_rival_finished
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_recovery_claim.py:62
Functionunlink_after_waiter_resumes
(path: str)
tests/soft/read_write/test_participant.py:123
Functionunlink_on_full_filesystem
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_publication_rollback.py:69
Functionunlink_then_signal
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_publication_cleanup.py:83
Functionunlock_then_raise
(fd: int, operation: int)
tests/core/test_release_interruption.py:196
Functionunlock_then_raise
(fd: int, operation: int)
tests/async_lock/test_release_cancellation.py:155
Functionunlock_then_reenter
(fd: int, operation: int)
tests/core/test_release_interruption.py:39
Functionunrelated_first
(path: int | str | Path)
tests/soft/strict/test_scan_limit.py:242
Functionunsupported
(fd: int, _operation: int)
tests/native/test_unix_probe.py:65
Functionunsupported_flock
(mocker: MockerFixture)
tests/native/conftest.py:73
Functionvanish_once
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_sentinel.py:345
Functionwait_at_boundary
(fd: int)
tests/core/test_fork_descriptors.py:103
Functionwait_for_peer
(handle: int, *names: str, **options: bool)
tests/soft/strict/test_windows.py:74
Functionwaiter
()
tests/soft/read_write/test_lock_contention.py:38
Functionwindows_link_holder
(everyone_writable_database: Path)
tests/sqlite/conftest.py:24
Functionwithdraw
()
tests/soft/strict/test_release_observers.py:151
Methodwithdraw
()
src/filelock/_soft/_strict/_release.py:96
Methodwithdraw
()
src/filelock/_soft/_strict/_lock.py:366
Functionwork
()
tests/core/test_admission.py:46
Functionwork
(lock: BaseFileLock)
tests/core/test_threading.py:95
Functionworker
( lock_file: str, mode: Literal["read", "write"], acquired_event: EventType, release_event: Ev
tests/soft/read_write/lock_helpers.py:58
Functionworker
()
tests/native/test_file_identity.py:54
Functionworker
()
tests/async_lock/test_read_write.py:24
Functionworking_directories
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/conftest.py:227
Functionwrite_after_peer_replaces_marker
(fd: int, data: bytes)
tests/native/test_unix_fallback_marker.py:157
Functionwrite_denied_lock_file
( request: pytest.FixtureRequest, tmp_path: Path, mocker: MockerFixture )
tests/native/conftest.py:52
Methodwrite_head
(self, path: str, temporary: str, data: bytes)
src/filelock/_soft/_read_write/_storage.py:75
Methodwrite_lock
Hold the lock until the context exits. See :meth:`acquire_write` for acquisition errors. :param timeout: seconds to wait, or ``None`
src/filelock/_soft/_read_write/_async.py:144
Functionwrite_metadata
(fd: int)
tests/core/test_on_acquired.py:110
Functionwrite_once
()
tests/async_lock/test_read_write_wait.py:171
Functionwriter_gets_in
(tmp_path: Path)
tests/soft/read_write/async_helpers.py:109
← previous3,501–3,548 of 3,548, ranked by callers