Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ functions
Functions
3,548 in github.com/tox-dev/filelock
⨍
Functions
3,548
◇
Types & classes
212
↳
Endpoints
35
Method
timeout
The default timeout.
src/filelock/_async_lock/_backends.py:121
Function
timeout_locks
( tmp_path: Path, lock_type: type[ReadWriteLock | SoftReadWriteLock] )
tests/sqlite/test_transactions_settings.py:206
Function
tmp_file_ro
(tmp_path: Path)
tests/core/test_lock.py:99
Function
tmp_path_ro
(tmp_path: Path)
tests/core/test_lock.py:75
Method
token
The current claim token, or ``None`` while the lease is released.
src/filelock/_soft/_lease.py:118
Function
touch
(path: str, *, fd: int)
tests/soft/test_lease.py:152
Function
touch_and_count
(name: str, *, fd: int)
tests/soft/test_lease_release.py:249
Function
track_handles
(path: Path)
tests/sqlite/test_links_sweep.py:105
Function
try_illegal_transition
(lock_file: str, hold_mode: Literal["read", "write"], result: Synchronized[int])
tests/sqlite/test_lock.py:100
Function
try_reenter
()
tests/sqlite/test_transactions.py:177
Function
try_to_move_it_aside
(path: int | str)
tests/soft/strict/test_windows_directories.py:94
Function
try_to_move_the_tree_aside
(fd: int, data: bytes)
tests/soft/read_write/test_lock_storage.py:114
Function
uid_shared_with_unmapped_accounts
(mocker: MockerFixture)
tests/conftest.py:254
Function
unavailable_owner_check
(request: pytest.FixtureRequest, mocker: MockerFixture)
tests/filesystem/test_ownership.py:190
Function
unchanged_past_grace
(mocker: MockerFixture)
tests/soft/exclusive/conftest.py:34
Method
unlink
(self, path: str, *, witness: str | None = None)
src/filelock/_soft/_read_write/_storage.py:81
Function
unlink_after_resume
(path: str)
tests/soft/read_write/test_participant.py:171
Function
unlink_after_the_rival_finished
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_recovery_claim.py:62
Function
unlink_after_waiter_resumes
(path: str)
tests/soft/read_write/test_participant.py:123
Function
unlink_on_full_filesystem
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_publication_rollback.py:69
Function
unlink_then_signal
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_publication_cleanup.py:83
Function
unlock_then_raise
(fd: int, operation: int)
tests/core/test_release_interruption.py:196
Function
unlock_then_raise
(fd: int, operation: int)
tests/async_lock/test_release_cancellation.py:155
Function
unlock_then_reenter
(fd: int, operation: int)
tests/core/test_release_interruption.py:39
Function
unrelated_first
(path: int | str | Path)
tests/soft/strict/test_scan_limit.py:242
Function
unsupported
(fd: int, _operation: int)
tests/native/test_unix_probe.py:65
Function
unsupported_flock
(mocker: MockerFixture)
tests/native/conftest.py:73
Function
vanish_once
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_sentinel.py:345
Function
wait_at_boundary
(fd: int)
tests/core/test_fork_descriptors.py:103
Function
wait_for_peer
(handle: int, *names: str, **options: bool)
tests/soft/strict/test_windows.py:74
Function
waiter
()
tests/soft/read_write/test_lock_contention.py:38
Function
windows_link_holder
(everyone_writable_database: Path)
tests/sqlite/conftest.py:24
Function
withdraw
()
tests/soft/strict/test_release_observers.py:151
Method
withdraw
()
src/filelock/_soft/_strict/_release.py:96
Method
withdraw
()
src/filelock/_soft/_strict/_lock.py:366
Function
work
()
tests/core/test_admission.py:46
Function
work
(lock: BaseFileLock)
tests/core/test_threading.py:95
Function
worker
( lock_file: str, mode: Literal["read", "write"], acquired_event: EventType, release_event: Ev
tests/soft/read_write/lock_helpers.py:58
Function
worker
()
tests/native/test_file_identity.py:54
Function
worker
()
tests/async_lock/test_read_write.py:24
Function
working_directories
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/conftest.py:227
Function
write_after_peer_replaces_marker
(fd: int, data: bytes)
tests/native/test_unix_fallback_marker.py:157
Function
write_denied_lock_file
( request: pytest.FixtureRequest, tmp_path: Path, mocker: MockerFixture )
tests/native/conftest.py:52
Method
write_head
(self, path: str, temporary: str, data: bytes)
src/filelock/_soft/_read_write/_storage.py:75
Method
write_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
Function
write_metadata
(fd: int)
tests/core/test_on_acquired.py:110
Function
write_once
()
tests/async_lock/test_read_write_wait.py:171
Function
writer_gets_in
(tmp_path: Path)
tests/soft/read_write/async_helpers.py:109
← previous
3,501–3,548 of 3,548, ranked by callers